@maxim_mazurok/gapi.client.adsenseplatform-v1alpha 0.0.20250113 → 0.0.20250116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +53 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://adsenseplatform.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250116
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -68,6 +68,10 @@ declare namespace gapi.client {
|
|
|
68
68
|
}
|
|
69
69
|
interface CloseAccountRequest {}
|
|
70
70
|
interface CloseAccountResponse {}
|
|
71
|
+
interface Decimal {
|
|
72
|
+
/** The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the integer"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range. */
|
|
73
|
+
value?: string;
|
|
74
|
+
}
|
|
71
75
|
interface Empty {}
|
|
72
76
|
interface Event {
|
|
73
77
|
/** Required. Information associated with the event. */
|
|
@@ -95,6 +99,12 @@ declare namespace gapi.client {
|
|
|
95
99
|
/** The platform child sites returned in this list response. */
|
|
96
100
|
platformChildSites?: PlatformChildSite[];
|
|
97
101
|
}
|
|
102
|
+
interface ListPlatformGroupsResponse {
|
|
103
|
+
/** 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. */
|
|
104
|
+
nextPageToken?: string;
|
|
105
|
+
/** The platform groups returned in this list response. */
|
|
106
|
+
platformGroups?: PlatformGroup[];
|
|
107
|
+
}
|
|
98
108
|
interface ListPlatformsResponse {
|
|
99
109
|
/** 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. */
|
|
100
110
|
nextPageToken?: string;
|
|
@@ -127,6 +137,14 @@ declare namespace gapi.client {
|
|
|
127
137
|
/** Resource name of the Platform Group of the Platform Child Site. */
|
|
128
138
|
platformGroup?: string;
|
|
129
139
|
}
|
|
140
|
+
interface PlatformGroup {
|
|
141
|
+
/** Output only. Description of the PlatformGroup. */
|
|
142
|
+
description?: string;
|
|
143
|
+
/** Identifier. Format: accounts/{account}/platforms/{platform}/groups/{platform_group} */
|
|
144
|
+
name?: string;
|
|
145
|
+
/** The revenue share of the PlatformGroup, in millipercent (e.g. 15000 = 15%). */
|
|
146
|
+
revshareMillipercent?: Decimal;
|
|
147
|
+
}
|
|
130
148
|
interface RequestSiteReviewResponse {}
|
|
131
149
|
interface Site {
|
|
132
150
|
/** Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters. */
|
|
@@ -178,6 +196,39 @@ declare namespace gapi.client {
|
|
|
178
196
|
interface ChildAccountsResource {
|
|
179
197
|
sites: SitesResource;
|
|
180
198
|
}
|
|
199
|
+
interface GroupsResource {
|
|
200
|
+
/** Lists Platform Groups for a specified Platform. */
|
|
201
|
+
list(request?: {
|
|
202
|
+
/** V1 error format. */
|
|
203
|
+
'$.xgafv'?: string;
|
|
204
|
+
/** OAuth access token. */
|
|
205
|
+
access_token?: string;
|
|
206
|
+
/** Data format for response. */
|
|
207
|
+
alt?: string;
|
|
208
|
+
/** JSONP */
|
|
209
|
+
callback?: string;
|
|
210
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
211
|
+
fields?: string;
|
|
212
|
+
/** 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. */
|
|
213
|
+
key?: string;
|
|
214
|
+
/** OAuth 2.0 token for the current user. */
|
|
215
|
+
oauth_token?: string;
|
|
216
|
+
/** Optional. The maximum number of groups to include in the response, used for paging. If unspecified, at most 10000 groups will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. */
|
|
217
|
+
pageSize?: number;
|
|
218
|
+
/** Optional. A page token, received from a previous `ListPlatformGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPlatformGroups` must match the call that provided the page token. */
|
|
219
|
+
pageToken?: string;
|
|
220
|
+
/** Required. The name of the platform to retrieve. Format: accounts/{account}/platforms/{platform} */
|
|
221
|
+
parent: string;
|
|
222
|
+
/** Returns response with indentations and line breaks. */
|
|
223
|
+
prettyPrint?: boolean;
|
|
224
|
+
/** 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. */
|
|
225
|
+
quotaUser?: string;
|
|
226
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
227
|
+
upload_protocol?: string;
|
|
228
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
229
|
+
uploadType?: string;
|
|
230
|
+
}): Request<ListPlatformGroupsResponse>;
|
|
231
|
+
}
|
|
181
232
|
interface PlatformsResource {
|
|
182
233
|
/** Gets a platform. */
|
|
183
234
|
get(request?: {
|
|
@@ -238,6 +289,7 @@ declare namespace gapi.client {
|
|
|
238
289
|
uploadType?: string;
|
|
239
290
|
}): Request<ListPlatformsResponse>;
|
|
240
291
|
childAccounts: ChildAccountsResource;
|
|
292
|
+
groups: GroupsResource;
|
|
241
293
|
}
|
|
242
294
|
interface AccountsResource {
|
|
243
295
|
platforms: PlatformsResource;
|