From 716ded31624c382be7ecf55ec2de87560b7592ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 19 Oct 2021 07:07:13 +0000 Subject: [PATCH] feat(realtimebidding): update the api #### realtimebidding:v1 The following keys were added: - resources.bidders.resources.endpoints.methods.patch (Total Keys: 15) --- .../realtimebidding_v1.bidders.endpoints.html | 38 +++++++++++++++++++ .../documents/realtimebidding.v1.json | 36 +++++++++++++++++- .../documents/realtimebidding.v1alpha.json | 2 +- 3 files changed, 74 insertions(+), 2 deletions(-) diff --git a/docs/dyn/realtimebidding_v1.bidders.endpoints.html b/docs/dyn/realtimebidding_v1.bidders.endpoints.html index bf576a137f3..01040388876 100644 --- a/docs/dyn/realtimebidding_v1.bidders.endpoints.html +++ b/docs/dyn/realtimebidding_v1.bidders.endpoints.html @@ -86,6 +86,9 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

+

+ patch(name, body=None, updateMask=None, x__xgafv=None)

+

Updates a bidder's endpoint.

Method Details

close() @@ -159,4 +162,39 @@

Method Details

+
+ patch(name, body=None, updateMask=None, x__xgafv=None) +
Updates a bidder's endpoint.
+
+Args:
+  name: string, Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Bidder endpoint that receives bid requests.
+  "bidProtocol": "A String", # The protocol that the bidder endpoint is using.
+  "maximumQps": "A String", # The maximum number of queries per second allowed to be sent to this server.
+  "name": "A String", # Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server.
+  "tradingLocation": "A String", # The trading location that bid requests should be sent from. See https://developers.google.com/authorized-buyers/rtb/peer-guide#trading-locations for further information.
+  "url": "A String", # Output only. The URL that bid requests should be sent to.
+}
+
+  updateMask: string, Field mask to use for partial in-place updates.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Bidder endpoint that receives bid requests.
+  "bidProtocol": "A String", # The protocol that the bidder endpoint is using.
+  "maximumQps": "A String", # The maximum number of queries per second allowed to be sent to this server.
+  "name": "A String", # Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server.
+  "tradingLocation": "A String", # The trading location that bid requests should be sent from. See https://developers.google.com/authorized-buyers/rtb/peer-guide#trading-locations for further information.
+  "url": "A String", # Output only. The URL that bid requests should be sent to.
+}
+
+ \ No newline at end of file diff --git a/googleapiclient/discovery_cache/documents/realtimebidding.v1.json b/googleapiclient/discovery_cache/documents/realtimebidding.v1.json index b575ced7913..c01e168909d 100644 --- a/googleapiclient/discovery_cache/documents/realtimebidding.v1.json +++ b/googleapiclient/discovery_cache/documents/realtimebidding.v1.json @@ -311,6 +311,40 @@ "scopes": [ "https://www.googleapis.com/auth/realtime-bidding" ] + }, + "patch": { + "description": "Updates a bidder's endpoint.", + "flatPath": "v1/bidders/{biddersId}/endpoints/{endpointsId}", + "httpMethod": "PATCH", + "id": "realtimebidding.bidders.endpoints.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server.", + "location": "path", + "pattern": "^bidders/[^/]+/endpoints/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Field mask to use for partial in-place updates.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Endpoint" + }, + "response": { + "$ref": "Endpoint" + }, + "scopes": [ + "https://www.googleapis.com/auth/realtime-bidding" + ] } } }, @@ -1140,7 +1174,7 @@ } } }, - "revision": "20211008", + "revision": "20211016", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { diff --git a/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json b/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json index bdb4692295e..ea92fe66dfd 100644 --- a/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json @@ -234,7 +234,7 @@ } } }, - "revision": "20211008", + "revision": "20211016", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivateBiddingFunctionRequest": {