Skip to content

Commit 5712cc5

Browse files
authored
Regenerate all services using updated definitions (#213)
* Change CI to use stack --fast by default * Reformat core libaries + generator using ImportQualifiedPost * Update existing model configuration * Regenerate all services using updated model configuration
1 parent 54fe41a commit 5712cc5

File tree

691 files changed

+102796
-20622
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

691 files changed

+102796
-20622
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,38 @@
11
name: CI
2-
32
on:
43
push:
54
branches: [main]
65
pull_request:
76
branches: [main]
8-
97
env:
10-
CACHE_VERSION: v0
8+
CACHE_VERSION: v1
119
TERM: dumb
12-
10+
NO_COLOR: 1
1311
concurrency:
1412
group: build-${{ github.ref }}
1513
cancel-in-progress: true
16-
1714
jobs:
1815
build:
1916
runs-on: ubuntu-latest
2017
strategy:
2118
matrix:
2219
ghc-version: ['ghc910', 'ghc984', 'ghc966']
23-
2420
steps:
2521
- name: Checkout
2622
uses: actions/checkout@v4
27-
2823
- name: Install nix
2924
uses: DeterminateSystems/nix-installer-action@main
3025
with:
3126
extra-conf: |
3227
accept-flake-config = true
3328
download-buffer-size = 512000000
34-
3529
- name: Cache nix
3630
uses: cachix/cachix-action@v14
3731
with:
3832
name: gogol
3933
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
40-
4134
# There isn't any apparent sensible way to cache stack, so this more or less
4235
# follows the imperfect ideas in https://github.com/commercialhaskell/stack/issues/5754
43-
4436
- name: Cache ~/.stack
4537
uses: actions/cache@v4
4638
with:
@@ -49,7 +41,6 @@ jobs:
4941
stack-${{ runner.os }}-${{ matrix.ghc-version }}-${{ env.CACHE_VERSION }}-
5042
path: |
5143
~/.stack
52-
5344
- name: Cache .stack-work
5445
uses: actions/cache@v4
5546
with:
@@ -60,27 +51,22 @@ jobs:
6051
path: |
6152
.stack-work
6253
**/.stack-work
63-
6454
- name: Free disk space
6555
run: |
6656
sudo rm -rf /opt/hostedtoolcache /opt/ghc /usr/share/dotnet /usr/local/lib/android
6757
sudo df --human-readable
6858
sudo free --human
6959
sudo swapon --show
70-
7160
- name: Build dependencies
7261
run: |
73-
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build --only-dependencies
74-
62+
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build --fast --only-dependencies
7563
- name: Build libraries
7664
run: |
77-
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build gogol gogol-core
78-
65+
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build --fast gogol gogol-core
7966
- name: Build generator
8067
if: matrix.ghc-version == 'ghc910'
8168
run: |
82-
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build ./gen
83-
69+
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build --fast ./gen
8470
- name: Build services
8571
run: |
86-
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build ./lib/services
72+
nix develop .#${{ matrix.ghc-version }} --print-build-logs --command stack build --fast ./lib/services

configs/models/accessapproval/v1/accessapproval-api.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
}
914914
}
915915
},
916-
"revision": "20240820",
916+
"revision": "20250206",
917917
"rootUrl": "https://accessapproval.googleapis.com/",
918918
"schemas": {
919919
"AccessApprovalServiceAccount": {
@@ -1294,7 +1294,9 @@
12941294
"HMAC_SHA384",
12951295
"HMAC_SHA512",
12961296
"HMAC_SHA224",
1297-
"EXTERNAL_SYMMETRIC_ENCRYPTION"
1297+
"EXTERNAL_SYMMETRIC_ENCRYPTION",
1298+
"PQ_SIGN_ML_DSA_65",
1299+
"PQ_SIGN_SLH_DSA_SHA2_128S"
12981300
],
12991301
"enumDescriptions": [
13001302
"Not specified.",
@@ -1332,7 +1334,9 @@
13321334
"HMAC-SHA384 signing with a 384 bit key.",
13331335
"HMAC-SHA512 signing with a 512 bit key.",
13341336
"HMAC-SHA224 signing with a 224 bit key.",
1335-
"Algorithm representing symmetric encryption by an external key manager."
1337+
"Algorithm representing symmetric encryption by an external key manager.",
1338+
"The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version.",
1339+
"The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized version."
13361340
],
13371341
"type": "string"
13381342
},

configs/models/accesscontextmanager/v1/accesscontextmanager-api.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@
12951295
}
12961296
}
12971297
},
1298-
"revision": "20241209",
1298+
"revision": "20250212",
12991299
"rootUrl": "https://accesscontextmanager.googleapis.com/",
13001300
"schemas": {
13011301
"AccessContextManagerOperationMetadata": {
@@ -1822,6 +1822,10 @@
18221822
"accessLevel": {
18231823
"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.",
18241824
"type": "string"
1825+
},
1826+
"resource": {
1827+
"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.",
1828+
"type": "string"
18251829
}
18261830
},
18271831
"type": "object"
@@ -1931,7 +1935,7 @@
19311935
"type": "object"
19321936
},
19331937
"GcpUserAccessBindingOperationMetadata": {
1934-
"description": "Metadata of GCP Access Binding Long Running Operations.",
1938+
"description": "Metadata of Google Cloud Access Binding Long Running Operations.",
19351939
"id": "GcpUserAccessBindingOperationMetadata",
19361940
"properties": {},
19371941
"type": "object"

configs/models/admin/directory/v1/admin-api.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,7 @@
40204020
"type": "string"
40214021
},
40224022
"pageToken": {
4023-
"description": "Token to specify next page in the list",
4023+
"description": "Token to specify next page in the list. The page token is only valid for three days.",
40244024
"location": "query",
40254025
"type": "string"
40264026
},
@@ -4671,7 +4671,7 @@
46714671
}
46724672
}
46734673
},
4674-
"revision": "20241210",
4674+
"revision": "20250217",
46754675
"rootUrl": "https://admin.googleapis.com/",
46764676
"schemas": {
46774677
"Alias": {
@@ -8658,7 +8658,7 @@
86588658
"type": "string"
86598659
},
86608660
"nextPageToken": {
8661-
"description": "Token used to access next page of this result.",
8661+
"description": "Token used to access next page of this result. The page token is only valid for three days.",
86628662
"type": "string"
86638663
},
86648664
"trigger_event": {

configs/models/admin/reports/v1/admin-api.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"type": "string"
206206
},
207207
"groupIdFilter": {
208-
"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\"",
208+
"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)",
209209
"location": "query",
210210
"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)",
211211
"type": "string"
@@ -344,7 +344,7 @@
344344
"type": "string"
345345
},
346346
"groupIdFilter": {
347-
"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\"",
347+
"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)",
348348
"location": "query",
349349
"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)",
350350
"type": "string"
@@ -448,7 +448,7 @@
448448
"parameters": {
449449
"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ",
450450
"location": "query",
451-
"pattern": "(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)",
451+
"pattern": "(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)",
452452
"type": "string"
453453
}
454454
},
@@ -572,7 +572,7 @@
572572
"filters": {
573573
"description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `\u003c\u003e` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time \u0026filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `\u003c\u003e` - 'not equal to'. It is URL-encoded (%3C%3E). - `\u003c` - 'less than'. It is URL-encoded (%3C). - `\u003c=` - 'less than or equal to'. It is URL-encoded (%3C=). - `\u003e` - 'greater than'. It is URL-encoded (%3E). - `\u003e=` - 'greater than or equal to'. It is URL-encoded (%3E=). ",
574574
"location": "query",
575-
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
575+
"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[\u003c,\u003c=,==,\u003e=,\u003e,!=][^,]+)",
576576
"type": "string"
577577
},
578578
"groupIdFilter": {
@@ -605,7 +605,7 @@
605605
"parameters": {
606606
"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ",
607607
"location": "query",
608-
"pattern": "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
608+
"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)",
609609
"type": "string"
610610
},
611611
"userKey": {
@@ -626,7 +626,7 @@
626626
}
627627
}
628628
},
629-
"revision": "20240220",
629+
"revision": "20250304",
630630
"rootUrl": "https://admin.googleapis.com/",
631631
"schemas": {
632632
"Activities": {

0 commit comments

Comments
 (0)