Skip to content

Commit 0997ad4

Browse files
feat(adsenseplatform): update the api
#### adsenseplatform:v1alpha The following keys were added: - resources.accounts.resources.platforms.methods.list (Total Keys: 16) - schemas.ListPlatformsResponse (Total Keys: 5)
1 parent 8afb3df commit 0997ad4

File tree

2 files changed

+104
-1
lines changed

2 files changed

+104
-1
lines changed

docs/dyn/adsenseplatform_v1alpha.accounts.platforms.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ <h2>Instance Methods</h2>
8080
<p class="toc_element">
8181
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets a platform.</p>
83+
<p class="toc_element">
84+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Lists platforms for a specified account.</p>
86+
<p class="toc_element">
87+
<code><a href="#list_next">list_next()</a></code></p>
88+
<p class="firstline">Retrieves the next page of results.</p>
8389
<h3>Method Details</h3>
8490
<div class="method">
8591
<code class="details" id="close">close()</code>
@@ -107,4 +113,46 @@ <h3>Method Details</h3>
107113
}</pre>
108114
</div>
109115

116+
<div class="method">
117+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
118+
<pre>Lists platforms for a specified account.
119+
120+
Args:
121+
parent: string, Required. The account which owns the platforms. Format: accounts/{account} (required)
122+
pageSize: integer, Optional. The maximum number of platforms to include in the response, used for paging. If unspecified, at most 10000 platforms will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
123+
pageToken: string, Optional. A page token, received from a previous `ListPlatforms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPlatforms` must match the call that provided the page token.
124+
x__xgafv: string, V1 error format.
125+
Allowed values
126+
1 - v1 error format
127+
2 - v2 error format
128+
129+
Returns:
130+
An object of the form:
131+
132+
{ # Response definition for the platform list rpc.
133+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through platforms. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
134+
&quot;platforms&quot;: [ # The platforms returned in this list response.
135+
{ # Representation of a Transparent Platform.
136+
&quot;defaultPlatformGroup&quot;: &quot;A String&quot;, # Default platform group for the platform.
137+
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the platform.
138+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of a platform. Format: accounts/{account}/platforms/{platform}
139+
},
140+
],
141+
}</pre>
142+
</div>
143+
144+
<div class="method">
145+
<code class="details" id="list_next">list_next()</code>
146+
<pre>Retrieves the next page of results.
147+
148+
Args:
149+
previous_request: The request for the previous page. (required)
150+
previous_response: The response from the request for the previous page. (required)
151+
152+
Returns:
153+
A request object that you can call &#x27;execute()&#x27; on to request the next
154+
page. Returns None if there are no more items in the collection.
155+
</pre>
156+
</div>
157+
110158
</body></html>

googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,43 @@
137137
"https://www.googleapis.com/auth/adsense",
138138
"https://www.googleapis.com/auth/adsense.readonly"
139139
]
140+
},
141+
"list": {
142+
"description": "Lists platforms for a specified account.",
143+
"flatPath": "v1alpha/accounts/{accountsId}/platforms",
144+
"httpMethod": "GET",
145+
"id": "adsenseplatform.accounts.platforms.list",
146+
"parameterOrder": [
147+
"parent"
148+
],
149+
"parameters": {
150+
"pageSize": {
151+
"description": "Optional. The maximum number of platforms to include in the response, used for paging. If unspecified, at most 10000 platforms will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.",
152+
"format": "int32",
153+
"location": "query",
154+
"type": "integer"
155+
},
156+
"pageToken": {
157+
"description": "Optional. A page token, received from a previous `ListPlatforms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPlatforms` must match the call that provided the page token.",
158+
"location": "query",
159+
"type": "string"
160+
},
161+
"parent": {
162+
"description": "Required. The account which owns the platforms. Format: accounts/{account}",
163+
"location": "path",
164+
"pattern": "^accounts/[^/]+$",
165+
"required": true,
166+
"type": "string"
167+
}
168+
},
169+
"path": "v1alpha/{+parent}/platforms",
170+
"response": {
171+
"$ref": "ListPlatformsResponse"
172+
},
173+
"scopes": [
174+
"https://www.googleapis.com/auth/adsense",
175+
"https://www.googleapis.com/auth/adsense.readonly"
176+
]
140177
}
141178
}
142179
}
@@ -480,7 +517,7 @@
480517
}
481518
}
482519
},
483-
"revision": "20250106",
520+
"revision": "20250108",
484521
"rootUrl": "https://adsenseplatform.googleapis.com/",
485522
"schemas": {
486523
"Account": {
@@ -662,6 +699,24 @@
662699
},
663700
"type": "object"
664701
},
702+
"ListPlatformsResponse": {
703+
"description": "Response definition for the platform list rpc.",
704+
"id": "ListPlatformsResponse",
705+
"properties": {
706+
"nextPageToken": {
707+
"description": "Continuation token used to page through platforms. To retrieve the next page of the results, set the next request's \"page_token\" value to this.",
708+
"type": "string"
709+
},
710+
"platforms": {
711+
"description": "The platforms returned in this list response.",
712+
"items": {
713+
"$ref": "Platform"
714+
},
715+
"type": "array"
716+
}
717+
},
718+
"type": "object"
719+
},
665720
"ListSitesResponse": {
666721
"description": "Response definition for the site list rpc.",
667722
"id": "ListSitesResponse",

0 commit comments

Comments
 (0)