mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
"description": "View user schemas on your domain"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "See, edit, configure, and delete your Google Cloud Platform data"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@
|
||||
"canonicalName": "directory",
|
||||
"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "http://developers.google.com/admin-sdk/",
|
||||
"documentationLink": "https://developers.google.com/admin-sdk/",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
@@ -193,7 +193,7 @@
|
||||
"asps": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Delete an ASP issued by a user.",
|
||||
"description": "Deletes an ASP issued by a user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "directory.asps.delete",
|
||||
@@ -222,7 +222,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Get information about an ASP issued by a user.",
|
||||
"description": "Gets information about an ASP issued by a user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.asps.get",
|
||||
@@ -254,7 +254,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "List the ASPs issued by a user.",
|
||||
"description": "Lists the ASPs issued by a user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/asps",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.asps.list",
|
||||
@@ -282,7 +282,7 @@
|
||||
"channels": {
|
||||
"methods": {
|
||||
"stop": {
|
||||
"description": "Stop watching resources through this channel.",
|
||||
"description": "Stops watching resources through this channel.",
|
||||
"flatPath": "admin/directory_v1/channels/stop",
|
||||
"httpMethod": "POST",
|
||||
"id": "admin.channels.stop",
|
||||
@@ -395,6 +395,11 @@
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"includeChildOrgunits": {
|
||||
"description": "Return devices from all child orgunits, as well as the specified org unit. If this is set to true 'orgUnitPath' must be provided.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"maxResults": {
|
||||
"default": "100",
|
||||
"description": "Maximum number of results to return.",
|
||||
@@ -427,7 +432,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full path of the organizational unit or its unique ID.",
|
||||
"description": "The full path of the organizational unit (minus the leading `/`) or its unique ID.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -450,7 +455,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333",
|
||||
"description": "Search string in the format given at https://developers.google.com/admin-sdk/directory/v1/list-query-operators",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -478,7 +483,7 @@
|
||||
]
|
||||
},
|
||||
"moveDevicesToOu": {
|
||||
"description": "Move or insert multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.",
|
||||
"description": "Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.chromeosdevices.moveDevicesToOu",
|
||||
@@ -724,7 +729,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patch Customers via Apiary Patch Orchestration",
|
||||
"description": "Patches a customer.",
|
||||
"flatPath": "admin/directory/v1/customers/{customerKey}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.customers.patch",
|
||||
@@ -932,6 +937,11 @@
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"orderBy": {
|
||||
"description": "The order to sort results by. Must be one of display_name, description, make_and_model, or create_time. Default order is ascending, but descending order can be returned by appending \"desc\" to the order_by field. For instance, \"description desc\" will return the printers sorted by description in descending order.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitId": {
|
||||
"description": "Organization Unit that we want to list the printers for. When org_unit is not present in the request then all printers of the customer are returned (or filtered). When org_unit is present in the request then only printers available to this OU will be returned (owned or inherited). You may see if printer is owned or inherited for this OU by looking at Printer.org_unit_id.",
|
||||
"location": "query",
|
||||
@@ -1357,7 +1367,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Retrieve all groups of a domain or of a user given a userKey (paginated)",
|
||||
"description": "Retrieves all groups of a domain or of a user given a userKey (paginated).",
|
||||
"flatPath": "admin/directory/v1/groups",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.groups.list",
|
||||
@@ -1369,7 +1379,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"domain": {
|
||||
"description": "The domain name. Use this field to get fields from only one domain. To return all domains for a customer account, use the `customer` query parameter instead.",
|
||||
"description": "The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1930,7 +1940,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Retrieves a paginated list of all mobile devices for an account.",
|
||||
"description": "Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/devices/mobile",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.mobiledevices.list",
|
||||
@@ -2039,11 +2049,6 @@
|
||||
"orgUnitPath"
|
||||
],
|
||||
"parameters": {
|
||||
"allowPlus": {
|
||||
"description": "Parses org unit path without url decode to allow for plus in ou name",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).",
|
||||
"location": "path",
|
||||
@@ -2051,7 +2056,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full path of the organizational unit or its unique ID.",
|
||||
"description": "The full path of the organizational unit (minus the leading `/`) or its unique ID.",
|
||||
"location": "path",
|
||||
"pattern": "^.*$",
|
||||
"required": true,
|
||||
@@ -2073,11 +2078,6 @@
|
||||
"orgUnitPath"
|
||||
],
|
||||
"parameters": {
|
||||
"allowPlus": {
|
||||
"description": "Parses org unit path without url decode to allow for plus in ou name",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).",
|
||||
"location": "path",
|
||||
@@ -2085,7 +2085,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full path of the organizational unit or its unique ID.",
|
||||
"description": "The full path of the organizational unit (minus the leading `/`) or its unique ID.",
|
||||
"location": "path",
|
||||
"pattern": "^.*$",
|
||||
"required": true,
|
||||
@@ -2182,11 +2182,6 @@
|
||||
"orgUnitPath"
|
||||
],
|
||||
"parameters": {
|
||||
"allowPlus": {
|
||||
"description": "Parses org unit path without url decode to allow for plus in ou name",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).",
|
||||
"location": "path",
|
||||
@@ -2194,7 +2189,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full path of the organizational unit or its unique ID.",
|
||||
"description": "The full path of the organizational unit (minus the leading `/`) or its unique ID.",
|
||||
"location": "path",
|
||||
"pattern": "^.*$",
|
||||
"required": true,
|
||||
@@ -2222,11 +2217,6 @@
|
||||
"orgUnitPath"
|
||||
],
|
||||
"parameters": {
|
||||
"allowPlus": {
|
||||
"description": "Parses org unit path without url decode to allow for plus in ou name",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).",
|
||||
"location": "path",
|
||||
@@ -2234,7 +2224,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full path of the organizational unit or its unique ID.",
|
||||
"description": "The full path of the organizational unit (minus the leading `/`) or its unique ID.",
|
||||
"location": "path",
|
||||
"pattern": "^.*$",
|
||||
"required": true,
|
||||
@@ -2429,7 +2419,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patches a building via Apiary Patch Orchestration.",
|
||||
"description": "Patches a building.",
|
||||
"flatPath": "admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.resources.buildings.patch",
|
||||
@@ -2668,7 +2658,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patches a calendar resource via Apiary Patch Orchestration.",
|
||||
"description": "Patches a calendar resource.",
|
||||
"flatPath": "admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.resources.calendars.patch",
|
||||
@@ -2865,7 +2855,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patches a feature via Apiary Patch Orchestration.",
|
||||
"description": "Patches a feature.",
|
||||
"flatPath": "admin/directory/v1/customer/{customer}/resources/features/{featureKey}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.resources.features.patch",
|
||||
@@ -2998,7 +2988,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieve a role assignment.",
|
||||
"description": "Retrieves a role assignment.",
|
||||
"flatPath": "admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.roleAssignments.get",
|
||||
@@ -3234,7 +3224,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patch role via Apiary Patch Orchestration",
|
||||
"description": "Patches a role.",
|
||||
"flatPath": "admin/directory/v1/customer/{customer}/roles/{roleId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.roles.patch",
|
||||
@@ -3306,7 +3296,7 @@
|
||||
"schemas": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Delete schema",
|
||||
"description": "Deletes a schema.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "directory.schemas.delete",
|
||||
@@ -3334,7 +3324,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieve schema",
|
||||
"description": "Retrieves a schema.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.schemas.get",
|
||||
@@ -3366,7 +3356,7 @@
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
"description": "Create schema.",
|
||||
"description": "Creates a schema.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.schemas.insert",
|
||||
@@ -3393,7 +3383,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Retrieve all schemas for a customer",
|
||||
"description": "Retrieves all schemas for a customer.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.schemas.list",
|
||||
@@ -3418,7 +3408,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Patch Schema via Apiary Patch Orchestration",
|
||||
"description": "Patches a schema.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "directory.schemas.patch",
|
||||
@@ -3452,7 +3442,7 @@
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Update schema",
|
||||
"description": "Updates a schema.",
|
||||
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
|
||||
"httpMethod": "PUT",
|
||||
"id": "directory.schemas.update",
|
||||
@@ -3490,7 +3480,7 @@
|
||||
"tokens": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Delete all access tokens issued by a user for an application.",
|
||||
"description": "Deletes all access tokens issued by a user for an application.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/tokens/{clientId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "directory.tokens.delete",
|
||||
@@ -3518,7 +3508,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Get information about an access token issued by a user.",
|
||||
"description": "Gets information about an access token issued by a user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/tokens/{clientId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.tokens.get",
|
||||
@@ -3577,7 +3567,7 @@
|
||||
"twoStepVerification": {
|
||||
"methods": {
|
||||
"turnOff": {
|
||||
"description": "Turn off 2-Step Verification for user.",
|
||||
"description": "Turns off 2-Step Verification for user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/twoStepVerification/turnOff",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.twoStepVerification.turnOff",
|
||||
@@ -3718,7 +3708,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"domain": {
|
||||
"description": "The domain name. Use this field to get fields from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.",
|
||||
"description": "The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3797,7 +3787,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"sortOrder": {
|
||||
"description": "Whether to return results in ascending or descending order.",
|
||||
"description": "Whether to return results in ascending or descending order, ignoring case.",
|
||||
"enum": [
|
||||
"ASCENDING",
|
||||
"DESCENDING"
|
||||
@@ -3886,7 +3876,7 @@
|
||||
]
|
||||
},
|
||||
"signOut": {
|
||||
"description": "Sign a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.",
|
||||
"description": "Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/signOut",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.users.signOut",
|
||||
@@ -3958,7 +3948,7 @@
|
||||
]
|
||||
},
|
||||
"watch": {
|
||||
"description": "Watch for changes in users list",
|
||||
"description": "Watches for changes in users list.",
|
||||
"flatPath": "admin/directory/v1/users/watch",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.users.watch",
|
||||
@@ -4164,6 +4154,19 @@
|
||||
"userKey"
|
||||
],
|
||||
"parameters": {
|
||||
"event": {
|
||||
"description": "Events to watch for.",
|
||||
"enum": [
|
||||
"add",
|
||||
"delete"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Alias Created Event",
|
||||
"Alias Deleted Event"
|
||||
],
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"userKey": {
|
||||
"description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.",
|
||||
"location": "path",
|
||||
@@ -4183,7 +4186,7 @@
|
||||
]
|
||||
},
|
||||
"watch": {
|
||||
"description": "Watch for changes in users list.",
|
||||
"description": "Watches for changes in users list.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/aliases/watch",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.users.aliases.watch",
|
||||
@@ -4336,7 +4339,7 @@
|
||||
"verificationCodes": {
|
||||
"methods": {
|
||||
"generate": {
|
||||
"description": "Generate new backup verification codes for the user.",
|
||||
"description": "Generates new backup verification codes for the user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/verificationCodes/generate",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.verificationCodes.generate",
|
||||
@@ -4357,7 +4360,7 @@
|
||||
]
|
||||
},
|
||||
"invalidate": {
|
||||
"description": "Invalidate the current backup verification codes for the user.",
|
||||
"description": "Invalidates the current backup verification codes for the user.",
|
||||
"flatPath": "admin/directory/v1/users/{userKey}/verificationCodes/invalidate",
|
||||
"httpMethod": "POST",
|
||||
"id": "directory.verificationCodes.invalidate",
|
||||
@@ -4404,7 +4407,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210330",
|
||||
"revision": "20220301",
|
||||
"rootUrl": "https://admin.googleapis.com/",
|
||||
"schemas": {
|
||||
"Alias": {
|
||||
@@ -4940,6 +4943,73 @@
|
||||
"description": "The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).",
|
||||
"type": "string"
|
||||
},
|
||||
"cpuInfo": {
|
||||
"description": "Information regarding CPU specs in the device.",
|
||||
"items": {
|
||||
"description": "CPU specs for a CPU.",
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"description": "The CPU architecture.",
|
||||
"type": "string"
|
||||
},
|
||||
"logicalCpus": {
|
||||
"description": "Information for the Logical CPUs",
|
||||
"items": {
|
||||
"description": "Status of a single logical CPU.",
|
||||
"properties": {
|
||||
"cStates": {
|
||||
"description": "C-States indicate the power consumption state of the CPU. For more information look at documentation published by the CPU maker.",
|
||||
"items": {
|
||||
"description": "Status of a single C-state. C-states are various modes the CPU can transition to in order to use more or less power.",
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"description": "Name of the state.",
|
||||
"type": "string"
|
||||
},
|
||||
"sessionDuration": {
|
||||
"description": "Time spent in the state since the last reboot.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"currentScalingFrequencyKhz": {
|
||||
"description": "Current frequency the CPU is running at.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"idleDuration": {
|
||||
"description": "Idle time since last boot.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"maxScalingFrequencyKhz": {
|
||||
"description": "Maximum frequency the CPU is allowed to run at, by policy.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"maxClockSpeedKhz": {
|
||||
"description": "The max CPU clock speed in kHz.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"model": {
|
||||
"description": "The CPU model name.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"cpuStatusReports": {
|
||||
"description": "Reports of CPU utilization and temperature (Read-only)",
|
||||
"items": {
|
||||
@@ -5118,8 +5188,12 @@
|
||||
"description": "The device's order number. Only devices directly purchased from Google have an order number.",
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitId": {
|
||||
"description": "The unique ID of the organizational unit. orgUnitPath is the human readable version of orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).",
|
||||
"type": "string"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"description": "The full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level organization, it is represented as a forward slash, `/`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).",
|
||||
"description": "The full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level organization, it is represented as a forward slash, `/`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).",
|
||||
"type": "string"
|
||||
},
|
||||
"osVersion": {
|
||||
@@ -5133,7 +5207,18 @@
|
||||
"recentUsers": {
|
||||
"description": "List of recent device users, in descending order, by last login time.",
|
||||
"items": {
|
||||
"$ref": "RecentUsers"
|
||||
"description": "List of recent device users, in descending order, by last login time.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the user.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
@@ -5717,7 +5802,7 @@
|
||||
"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden",
|
||||
"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized",
|
||||
"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests",
|
||||
"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level (e.g., when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence). (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. E.g., if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request",
|
||||
"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request",
|
||||
"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict",
|
||||
"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request",
|
||||
"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented",
|
||||
@@ -5933,7 +6018,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"printers": {
|
||||
"description": "List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was given in the request, then all printers will be returned.",
|
||||
"description": "List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was not given in the request, then all printers will be returned.",
|
||||
"items": {
|
||||
"$ref": "Printer"
|
||||
},
|
||||
@@ -6271,7 +6356,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"OrgUnit": {
|
||||
"description": "Managing your account's organizational units allows you to configure your users' access to services and custom settings. For more information about common organizational unit tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-org-units.html).",
|
||||
"description": "Managing your account's organizational units allows you to configure your users' access to services and custom settings. For more information about common organizational unit tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-org-units.html). The customer's organizational unit hierarchy is limited to 35 levels of depth.",
|
||||
"id": "OrgUnit",
|
||||
"properties": {
|
||||
"blockInheritance": {
|
||||
@@ -6473,21 +6558,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RecentUsers": {
|
||||
"description": "List of recent device users, in descending order, by last login time.",
|
||||
"id": "RecentUsers",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the user.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Role": {
|
||||
"id": "Role",
|
||||
"properties": {
|
||||
@@ -6552,6 +6622,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"RoleAssignment": {
|
||||
"description": "Defines an assignment of a role.",
|
||||
"id": "RoleAssignment",
|
||||
"properties": {
|
||||
"assignedTo": {
|
||||
@@ -6683,7 +6754,7 @@
|
||||
"directory.schemas.insert"
|
||||
]
|
||||
},
|
||||
"description": "The schema's name.",
|
||||
"description": "The schema's name. Each `schema_name` must be unique within a customer. Reusing a name results in a `409: Entity already exists` error.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -6872,7 +6943,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"aliases": {
|
||||
"description": "Output only. List of the user's alias email addresses.",
|
||||
"description": "Output only. A list of the user's alias email addresses.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -6897,7 +6968,7 @@
|
||||
"additionalProperties": {
|
||||
"$ref": "UserCustomProperties"
|
||||
},
|
||||
"description": "Custom fields of the user.",
|
||||
"description": "Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`.",
|
||||
"type": "object"
|
||||
},
|
||||
"customerId": {
|
||||
@@ -6928,7 +6999,7 @@
|
||||
"type": "any"
|
||||
},
|
||||
"hashFunction": {
|
||||
"description": "Stores the hash format of the password property. We recommend sending the `password` property value as a base 16 bit hexadecimal-encoded hash value. Set the `hashFunction` values as either the [SHA-1](https://wikipedia.org/wiki/SHA-1), [MD5](https://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/wiki/Crypt_\\(C\\)) hash format.",
|
||||
"description": "Stores the hash format of the password property. We recommend sending the `password` property value as a base 16 bit hexadecimal-encoded hash value. The following `hashFunction` values are allowed: * `DES` * `MD5` - hash prefix is `$1$` * `SHA2-256` - hash prefix is `$5$` * `SHA2-512` - hash prefix is `$6$` If rounds are specified as part of the prefix, they must be 10,000 or fewer.",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
@@ -7290,11 +7361,15 @@
|
||||
"id": "UserLanguage",
|
||||
"properties": {
|
||||
"customLanguage": {
|
||||
"description": "Other language. User can provide own language name if there is no corresponding Google III language code. If this is set LanguageCode can't be set",
|
||||
"description": "Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, `languageCode` can't be set.",
|
||||
"type": "string"
|
||||
},
|
||||
"languageCode": {
|
||||
"description": "Language Code. Should be used for storing Google III LanguageCode string representation for language. Illegal values cause SchemaException.",
|
||||
"description": "ISO 639 string representation of a language. See [Language Codes](/admin-sdk/directory/v1/languages) for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. Illegal values cause `SchemaException`. If this is set, `customLanguage` can't be set.",
|
||||
"type": "string"
|
||||
},
|
||||
"preference": {
|
||||
"description": "Optional. If present, controls whether the specified `languageCode` is the user's preferred language. If `customLanguage` is set, this can't be set. Allowed values are `preferred` and `not_preferred`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user