Skip to content

Commit 5a4dc60

Browse files
feat(all): auto-regenerate discovery clients (#2782)
1 parent 3c2f8ce commit 5a4dc60

File tree

64 files changed

+13271
-26114
lines changed

Some content is hidden

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

64 files changed

+13271
-26114
lines changed

‎accesscontextmanager/v1/accesscontextmanager-api.json

Lines changed: 112 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@
12901290
}
12911291
}
12921292
},
1293-
"revision": "20240811",
1293+
"revision": "20240908",
12941294
"rootUrl": "https://accesscontextmanager.googleapis.com/",
12951295
"schemas": {
12961296
"AccessContextManagerOperationMetadata": {
@@ -1357,6 +1357,35 @@
13571357
},
13581358
"type": "object"
13591359
},
1360+
"AccessScope": {
1361+
"description": "Access scope represents the client scope, etc. to which the settings will be applied to.",
1362+
"id": "AccessScope",
1363+
"properties": {
1364+
"clientScope": {
1365+
"$ref": "ClientScope",
1366+
"description": "Optional. Client scope for this access scope."
1367+
}
1368+
},
1369+
"type": "object"
1370+
},
1371+
"AccessSettings": {
1372+
"description": "Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set.",
1373+
"id": "AccessSettings",
1374+
"properties": {
1375+
"accessLevels": {
1376+
"description": "Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: \"accessPolicies/9522/accessLevels/device_trusted\"",
1377+
"items": {
1378+
"type": "string"
1379+
},
1380+
"type": "array"
1381+
},
1382+
"reauthSettings": {
1383+
"$ref": "ReauthSettings",
1384+
"description": "Optional. Reauth settings applied to user access on a given AccessScope."
1385+
}
1386+
},
1387+
"type": "object"
1388+
},
13601389
"ApiOperation": {
13611390
"description": "Identification for an API Operation.",
13621391
"id": "ApiOperation",
@@ -1550,6 +1579,17 @@
15501579
"properties": {},
15511580
"type": "object"
15521581
},
1582+
"ClientScope": {
1583+
"description": "Client scope represents the application, etc. subject to this binding's restrictions.",
1584+
"id": "ClientScope",
1585+
"properties": {
1586+
"restrictedClientApplication": {
1587+
"$ref": "Application",
1588+
"description": "Optional. The application that is subject to this binding's scope."
1589+
}
1590+
},
1591+
"type": "object"
1592+
},
15531593
"CommitServicePerimetersRequest": {
15541594
"description": "A request to commit dry-run specs in all Service Perimeters belonging to an Access Policy.",
15551595
"id": "CommitServicePerimetersRequest",
@@ -1860,12 +1900,23 @@
18601900
"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"",
18611901
"type": "string"
18621902
},
1903+
"reauthSettings": {
1904+
"$ref": "ReauthSettings",
1905+
"description": "Optional. GCSL policy for the group key."
1906+
},
18631907
"restrictedClientApplications": {
18641908
"description": "Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications.",
18651909
"items": {
18661910
"$ref": "Application"
18671911
},
18681912
"type": "array"
1913+
},
1914+
"scopedAccessSettings": {
1915+
"description": "Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. This field cannot be set if restricted_client_applications is set.",
1916+
"items": {
1917+
"$ref": "ScopedAccessSettings"
1918+
},
1919+
"type": "array"
18691920
}
18701921
},
18711922
"type": "object"
@@ -2231,6 +2282,47 @@
22312282
},
22322283
"type": "object"
22332284
},
2285+
"ReauthSettings": {
2286+
"description": "Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings.",
2287+
"id": "ReauthSettings",
2288+
"properties": {
2289+
"maxInactivity": {
2290+
"description": "Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.",
2291+
"format": "google-duration",
2292+
"type": "string"
2293+
},
2294+
"reauthMethod": {
2295+
"description": "Optional. Reauth method when users GCP session is up.",
2296+
"enum": [
2297+
"REAUTH_METHOD_UNSPECIFIED",
2298+
"LOGIN",
2299+
"SECURITY_KEY",
2300+
"PASSWORD"
2301+
],
2302+
"enumDescriptions": [
2303+
"If method undefined in API, we will use LOGIN by default.",
2304+
"The user will prompted to perform regular login. Users who are enrolled for two-step verification and haven't chosen to \"Remember this computer\" will be prompted for their second factor.",
2305+
"The user will be prompted to autheticate using their security key. If no security key has been configured, then we will fallback to LOGIN.",
2306+
"The user will be prompted for their password."
2307+
],
2308+
"type": "string"
2309+
},
2310+
"sessionLength": {
2311+
"description": "Optional. The session length. Setting this field to zero is equal to disabling. Reauth. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.",
2312+
"format": "google-duration",
2313+
"type": "string"
2314+
},
2315+
"sessionLengthEnabled": {
2316+
"description": "Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.",
2317+
"type": "boolean"
2318+
},
2319+
"useOidcMaxAge": {
2320+
"description": "Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.",
2321+
"type": "boolean"
2322+
}
2323+
},
2324+
"type": "object"
2325+
},
22342326
"ReplaceAccessLevelsRequest": {
22352327
"description": "A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.",
22362328
"id": "ReplaceAccessLevelsRequest",
@@ -2295,6 +2387,25 @@
22952387
},
22962388
"type": "object"
22972389
},
2390+
"ScopedAccessSettings": {
2391+
"description": "A relationship between access settings and its scope.",
2392+
"id": "ScopedAccessSettings",
2393+
"properties": {
2394+
"activeSettings": {
2395+
"$ref": "AccessSettings",
2396+
"description": "Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set."
2397+
},
2398+
"dryRunSettings": {
2399+
"$ref": "AccessSettings",
2400+
"description": "Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set."
2401+
},
2402+
"scope": {
2403+
"$ref": "AccessScope",
2404+
"description": "Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty."
2405+
}
2406+
},
2407+
"type": "object"
2408+
},
22982409
"ServicePerimeter": {
22992410
"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.",
23002411
"id": "ServicePerimeter",

‎accesscontextmanager/v1/accesscontextmanager-gen.go

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)