Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa authored and jskeet committed Jun 20, 2024
1 parent 008eb73 commit a768a20
Show file tree
Hide file tree
Showing 129 changed files with 20,778 additions and 5,700 deletions.
6 changes: 3 additions & 3 deletions DiscoveryJson/admin_directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240612",
"revision": "20240618",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6164,7 +6164,7 @@
],
"enumDescriptions": [
"The command type was unspecified.",
"Reboot the device. Can only be issued to Kiosk and managed guest session devices.",
"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.",
"Take a screenshot of the device. Only available if the device is in Kiosk Mode.",
"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.",
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
Expand Down Expand Up @@ -6233,7 +6233,7 @@
],
"enumDescriptions": [
"The command type was unspecified.",
"Reboot the device. Can only be issued to Kiosk and managed guest session devices.",
"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.",
"Take a screenshot of the device. Only available if the device is in Kiosk Mode.",
"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.",
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
Expand Down
6 changes: 3 additions & 3 deletions DiscoveryJson/admin_directory_v1.json.original
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240611",
"revision": "20240618",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6164,7 +6164,7 @@
],
"enumDescriptions": [
"The command type was unspecified.",
"Reboot the device. Can only be issued to Kiosk and managed guest session devices.",
"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.",
"Take a screenshot of the device. Only available if the device is in Kiosk Mode.",
"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.",
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
Expand Down Expand Up @@ -6233,7 +6233,7 @@
],
"enumDescriptions": [
"The command type was unspecified.",
"Reboot the device. Can only be issued to Kiosk and managed guest session devices.",
"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.",
"Take a screenshot of the device. Only available if the device is in Kiosk Mode.",
"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.",
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
Expand Down
740 changes: 553 additions & 187 deletions DiscoveryJson/aiplatform_v1.json

Large diffs are not rendered by default.

880 changes: 547 additions & 333 deletions DiscoveryJson/aiplatform_v1beta1.json

Large diffs are not rendered by default.

75 changes: 74 additions & 1 deletion DiscoveryJson/androidmanagement_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@
}
}
},
"revision": "20240606",
"revision": "20240619",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -2957,6 +2957,21 @@
},
"type": "object"
},
"DisplaySettings": {
"description": "Controls for the display settings.",
"id": "DisplaySettings",
"properties": {
"screenBrightnessSettings": {
"$ref": "ScreenBrightnessSettings",
"description": "Optional. Controls the screen brightness settings."
},
"screenTimeoutSettings": {
"$ref": "ScreenTimeoutSettings",
"description": "Optional. Controls the screen timeout settings."
}
},
"type": "object"
},
"DnsEvent": {
"description": "A DNS lookup event was initiated through the standard network stack.",
"id": "DnsEvent",
Expand Down Expand Up @@ -4977,6 +4992,10 @@
"$ref": "DeviceRadioState",
"description": "Covers controls for radio state such as Wi-Fi, bluetooth, and more."
},
"displaySettings": {
"$ref": "DisplaySettings",
"description": "Optional. Controls for the display settings."
},
"encryptionPolicy": {
"description": "Whether encryption is enabled",
"enum": [
Expand Down Expand Up @@ -5609,6 +5628,60 @@
},
"type": "object"
},
"ScreenBrightnessSettings": {
"description": "Controls for the screen brightness settings.",
"id": "ScreenBrightnessSettings",
"properties": {
"screenBrightness": {
"description": "Optional. The screen brightness between 1 and 255 where 1 is the lowest and 255 is the highest brightness. A value of 0 (default) means no screen brightness set. Any other value is rejected. screenBrightnessMode must be either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9.",
"format": "int32",
"type": "integer"
},
"screenBrightnessMode": {
"description": "Optional. Controls the screen brightness mode.",
"enum": [
"SCREEN_BRIGHTNESS_MODE_UNSPECIFIED",
"BRIGHTNESS_USER_CHOICE",
"BRIGHTNESS_AUTOMATIC",
"BRIGHTNESS_FIXED"
],
"enumDescriptions": [
"Unspecified. Defaults to BRIGHTNESS_USER_CHOICE.",
"The user is allowed to configure the screen brightness. screenBrightness must not be set.",
"The screen brightness mode is automatic in which the brightness is automatically adjusted and the user is not allowed to configure the screen brightness. screenBrightness can still be set and it is taken into account while the brightness is automatically adjusted. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9.",
"The screen brightness mode is fixed in which the brightness is set to screenBrightness and the user is not allowed to configure the screen brightness. screenBrightness must be set. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9."
],
"type": "string"
}
},
"type": "object"
},
"ScreenTimeoutSettings": {
"description": "Controls the screen timeout settings.",
"id": "ScreenTimeoutSettings",
"properties": {
"screenTimeout": {
"description": "Optional. Controls the screen timeout duration. The screen timeout duration must be greater than 0, otherwise it is rejected. Additionally, it should not be greater than maximumTimeToLock, otherwise the screen timeout is set to maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported. If the screen timeout is less than a certain lower bound, it is set to the lower bound. The lower bound may vary across devices. If this is set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9.",
"format": "google-duration",
"type": "string"
},
"screenTimeoutMode": {
"description": "Optional. Controls whether the user is allowed to configure the screen timeout.",
"enum": [
"SCREEN_TIMEOUT_MODE_UNSPECIFIED",
"SCREEN_TIMEOUT_USER_CHOICE",
"SCREEN_TIMEOUT_ENFORCED"
],
"enumDescriptions": [
"Unspecified. Defaults to SCREEN_TIMEOUT_USER_CHOICE.",
"The user is allowed to configure the screen timeout. screenTimeout must not be set.",
"The screen timeout is set to screenTimeout and the user is not allowed to configure the timeout. screenTimeout must be set. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9."
],
"type": "string"
}
},
"type": "object"
},
"SecurityPosture": {
"description": "The security posture of the device, as determined by the current device state and the policies applied.",
"id": "SecurityPosture",
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/authorizedbuyersmarketplace_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@
]
},
"addNote": {
"description": "Creates a note for this proposal and sends to the seller.",
"description": "Creates a note for this proposal and sends to the seller. This method is not supported for proposals with DealType set to 'PRIVATE_AUCTION'.",
"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}:addNote",
"httpMethod": "POST",
"id": "authorizedbuyersmarketplace.buyers.proposals.addNote",
Expand Down Expand Up @@ -1367,7 +1367,7 @@
}
}
},
"revision": "20240612",
"revision": "20240618",
"rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/",
"schemas": {
"AcceptProposalRequest": {
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/bigtableadmin_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@
}
}
},
"revision": "20240522",
"revision": "20240604",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -2387,7 +2387,7 @@
"type": "string"
},
"expireTime": {
"description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.",
"description": "Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the new value must: - Be at most 90 days in the future - Be at least 6 hours in the future Once the `expire_time` has passed, Cloud Bigtable will delete the backup.",
"format": "google-datetime",
"type": "string"
},
Expand Down
11 changes: 10 additions & 1 deletion DiscoveryJson/binaryauthorization_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@
"name"
],
"parameters": {
"etag": {
"description": "Optional. Used to prevent deleting the policy when another request has updated it since it was retrieved.",
"location": "query",
"type": "string"
},
"name": {
"description": "Required. The name of the platform policy to delete, in the format `projects/*/platforms/*/policies/*`.",
"location": "path",
Expand Down Expand Up @@ -742,7 +747,7 @@
}
}
},
"revision": "20240607",
"revision": "20240614",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
Expand Down Expand Up @@ -1420,6 +1425,10 @@
"description": "Optional. A description comment about the policy.",
"type": "string"
},
"etag": {
"description": "Optional. Used to prevent updating the policy when another request has updated it since it was retrieved.",
"type": "string"
},
"gkePolicy": {
"$ref": "GkePolicy",
"description": "Optional. GKE platform-specific policy."
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/chat_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
"type": "string"
},
"updateMask": {
"description": "Required. The updated field paths, comma separated if there are multiple. Currently supported field paths: - `display_name` (Only supports changing the display name of a space with the `SPACE` type, or when also including the `space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results in an invalid argument error. If you receive the error message `ALREADY_EXISTS` when updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error). - `space_details` - `space_history_state` (Supports [turning history on or off for the space](https://support.google.com/chat/answer/7664687) if [the organization allows users to change their history setting](https://support.google.com/a/answer/7664184). Warning: mutually exclusive with all other field paths.) - Developer Preview: `access_settings.audience` (Supports changing the [access setting](https://support.google.com/chat/answer/11971020) of a space. If no audience is specified in the access setting, the space's access setting is updated to restricted. Warning: mutually exclusive with all other field paths.)",
"description": "Required. The updated field paths, comma separated if there are multiple. Currently supported field paths: - `display_name` (Only supports changing the display name of a space with the `SPACE` type, or when also including the `space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results in an invalid argument error. If you receive the error message `ALREADY_EXISTS` when updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error). `space_type` is not supported with admin access. - `space_details` - `space_history_state` (Supports [turning history on or off for the space](https://support.google.com/chat/answer/7664687) if [the organization allows users to change their history setting](https://support.google.com/a/answer/7664184). Warning: mutually exclusive with all other field paths.) `space_history_state` is not supported with admin access. - Developer Preview: `access_settings.audience` (Supports changing the [access setting](https://support.google.com/chat/answer/11971020) of a space. If no audience is specified in the access setting, the space's access setting is updated to restricted. Warning: mutually exclusive with all other field paths.) `access_settings.audience` is not supported with admin access. - Developer Preview: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space, supported field paths include: `permission_settings.manage_members_and_groups`, `permission_settings.modify_space_details`, `permission_settings.toggle_history`, `permission_settings.use_at_mention_all`, `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `permission_settings.reply_messages` (Warning: mutually exclusive with all other non-permission settings field paths). `permission_settings` is not supported with admin access.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -1241,7 +1241,7 @@
}
}
},
"revision": "20240528",
"revision": "20240613",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"AccessoryWidget": {
Expand Down
Loading

0 comments on commit a768a20

Please sign in to comment.