Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2841)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 26, 2024
1 parent 37b271e commit fb3747b
Show file tree
Hide file tree
Showing 21 changed files with 4,239 additions and 2,793 deletions.
53 changes: 49 additions & 4 deletions accesscontextmanager/v1/accesscontextmanager-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
],
"parameters": {
"append": {
"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, and reauth_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.",
"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.",
"location": "query",
"type": "boolean"
},
Expand All @@ -1218,7 +1218,7 @@
"type": "string"
},
"updateMask": {
"description": "Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }",
"description": "Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -1295,7 +1295,7 @@
}
}
},
"revision": "20241014",
"revision": "20241022",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessContextManagerOperationMetadata": {
Expand Down Expand Up @@ -1387,6 +1387,10 @@
"reauthSettings": {
"$ref": "ReauthSettings",
"description": "Optional. Reauth settings applied to user access on a given AccessScope."
},
"sessionSettings": {
"$ref": "SessionSettings",
"description": "Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings"
}
},
"type": "object"
Expand Down Expand Up @@ -1880,7 +1884,7 @@
"type": "object"
},
"GcpUserAccessBinding": {
"description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.",
"description": "Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11",
"id": "GcpUserAccessBinding",
"properties": {
"accessLevels": {
Expand Down Expand Up @@ -2500,6 +2504,47 @@
},
"type": "object"
},
"SessionSettings": {
"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.",
"id": "SessionSettings",
"properties": {
"maxInactivity": {
"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.",
"format": "google-duration",
"type": "string"
},
"sessionLength": {
"description": "Optional. The session length. Setting this field to zero is equal to disabling. Session. 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.",
"format": "google-duration",
"type": "string"
},
"sessionLengthEnabled": {
"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.",
"type": "boolean"
},
"sessionReauthMethod": {
"description": "Optional. Session method when users GCP session is up.",
"enum": [
"SESSION_REAUTH_METHOD_UNSPECIFIED",
"LOGIN",
"SECURITY_KEY",
"PASSWORD"
],
"enumDescriptions": [
"If method undefined in API, we will use LOGIN by default.",
"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.",
"The user will be prompted to autheticate using their security key. If no security key has been configured, then we will fallback to LOGIN.",
"The user will be prompted for their password."
],
"type": "string"
},
"useOidcMaxAge": {
"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.",
"type": "boolean"
}
},
"type": "object"
},
"SetIamPolicyRequest": {
"description": "Request message for `SetIamPolicy` method.",
"id": "SetIamPolicyRequest",
Expand Down
72 changes: 64 additions & 8 deletions accesscontextmanager/v1/accesscontextmanager-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions chromemanagement/v1/chromemanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
}
}
},
"revision": "20241022",
"revision": "20241023",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1AndroidAppInfo": {
Expand Down Expand Up @@ -3429,7 +3429,7 @@
"id": "GoogleChromeManagementV1RiskAssessment",
"properties": {
"assessment": {
"description": "Risk assessment for the extension. Currently, this is a numerical value, and higher values denote higher risk.",
"description": "Risk assessment for the extension. Currently, this is a numerical value, and its interpretation is specific to each risk assessment provider.",
"type": "string"
},
"detailsUrl": {
Expand Down
3 changes: 2 additions & 1 deletion chromemanagement/v1/chromemanagement-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fb3747b

Please sign in to comment.