Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update APIs #654

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ skipped_apis:
- ondemandscanning:v1beta1
- osconfig:v1alpha
- osconfig:v1beta # v1 included
- osconfig:v2beta
- oslogin:v1alpha # v1 available
- oslogin:v1beta # v1 available
- playdeveloperreporting:v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion discovery-artifact-manager
55 changes: 52 additions & 3 deletions discovery/googleapis/accesscontextmanager__v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"protocol": "rest",
"revision": "20241014",
"revision": "20241028",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"servicePath": "",
"title": "Access Context Manager API",
Expand Down Expand Up @@ -1210,7 +1210,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 with reauth_settings supports appending. Global access_levels, access_levels in scoped_access_settings, 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 @@ -1222,7 +1222,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 @@ -1389,6 +1389,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 @@ -1924,6 +1928,10 @@
"$ref": "ScopedAccessSettings"
},
"type": "array"
},
"sessionSettings": {
"$ref": "SessionSettings",
"description": "Optional. GCSL policy for the group key. Migrated from ReauthSettings"
}
},
"type": "object"
Expand Down Expand Up @@ -2502,6 +2510,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
26 changes: 25 additions & 1 deletion discovery/googleapis/admin__directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"ownerName": "Google",
"packagePath": "admin",
"protocol": "rest",
"revision": "20240924",
"revision": "20241029",
"rootUrl": "https://admin.googleapis.com/",
"servicePath": "",
"title": "Admin SDK API",
Expand Down Expand Up @@ -5185,6 +5185,25 @@
},
"type": "object"
},
"ByteUsage": {
"description": "Represents a data capacity with some amount of current usage in bytes.",
"id": "ByteUsage",
"properties": {
"capacityBytes": {
"description": "Output only. The total capacity value, in bytes.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"usedBytes": {
"description": "Output only. The current usage value, in bytes.",
"format": "int64",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CalendarResource": {
"description": "Public API: Resources.calendars",
"id": "CalendarResource",
Expand Down Expand Up @@ -5641,6 +5660,11 @@
"readOnly": true,
"type": "string"
},
"diskSpaceUsage": {
"$ref": "ByteUsage",
"description": "Output only. How much disk space the device has available and is currently using.",
"readOnly": true
},
"diskVolumeReports": {
"description": "Reports of disk space and other info about mounted/connected volumes.",
"items": {
Expand Down
Loading
Loading