mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Publish latest versions of all APIs
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Hgzlsu38y56tOKi_wO3_mjV37MM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/JB19efQGH5f-JRT49yZz7BTyNQU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:directory_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "directory",
|
||||
"version": "directory_v1",
|
||||
"revision": "20170419",
|
||||
"revision": "20170830",
|
||||
"title": "Admin Directory API",
|
||||
"description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -22,7 +22,7 @@
|
||||
"basePath": "/admin/directory/v1/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "admin/directory/v1/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/admin/directory_v1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
@@ -277,6 +277,10 @@
|
||||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"generatedResourceName": {
|
||||
"type": "string",
|
||||
"description": "The auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, NYC-2-Training Room 1A (16)"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.",
|
||||
@@ -292,21 +296,11 @@
|
||||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the calendar resource.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"directory.resources.calendars.insert"
|
||||
]
|
||||
}
|
||||
"description": "The unique ID for the calendar resource."
|
||||
},
|
||||
"resourceName": {
|
||||
"type": "string",
|
||||
"description": "The name of the calendar resource. For example, Training Room 1A",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"directory.resources.calendars.insert"
|
||||
]
|
||||
}
|
||||
"description": "The name of the calendar resource. For example, Training Room 1A"
|
||||
},
|
||||
"resourceType": {
|
||||
"type": "string",
|
||||
@@ -579,6 +573,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ChromeOsMoveDevicesToOu": {
|
||||
"id": "ChromeOsMoveDevicesToOu",
|
||||
"type": "object",
|
||||
"description": "JSON request template for moving ChromeOs Device to given OU in Directory Devices API.",
|
||||
"properties": {
|
||||
"deviceIds": {
|
||||
"type": "array",
|
||||
"description": "ChromeOs Devices to be moved to OU",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"required": [
|
||||
"directory.chromeosdevices.moveDevicesToOu"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Customer": {
|
||||
"id": "Customer",
|
||||
"type": "object",
|
||||
@@ -1824,6 +1837,9 @@
|
||||
"externalIds": {
|
||||
"type": "any"
|
||||
},
|
||||
"gender": {
|
||||
"type": "any"
|
||||
},
|
||||
"hashFunction": {
|
||||
"type": "string",
|
||||
"description": "Hash function name for password. Supported are MD5, SHA-1 and crypt"
|
||||
@@ -1868,12 +1884,18 @@
|
||||
"description": "Is mailbox setup (Read-only)",
|
||||
"readOnly": true
|
||||
},
|
||||
"keywords": {
|
||||
"type": "any"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "Kind of resource this is.",
|
||||
"default": "admin#directory#user",
|
||||
"readOnly": true
|
||||
},
|
||||
"languages": {
|
||||
"type": "any"
|
||||
},
|
||||
"lastLoginTime": {
|
||||
"type": "string",
|
||||
"description": "User's last login time. (Read-only)",
|
||||
@@ -2088,6 +2110,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserGender": {
|
||||
"id": "UserGender",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addressMeAs": {
|
||||
"type": "string",
|
||||
"description": "AddressMeAs. A human-readable string containing the proper way to refer to the profile owner by humans, for example \"he/him/his\" or \"they/them/their\"."
|
||||
},
|
||||
"customGender": {
|
||||
"type": "string",
|
||||
"description": "Custom gender."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Gender."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserIm": {
|
||||
"id": "UserIm",
|
||||
"type": "object",
|
||||
@@ -2119,6 +2159,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserKeyword": {
|
||||
"id": "UserKeyword",
|
||||
"type": "object",
|
||||
"description": "JSON template for a keyword entry.",
|
||||
"properties": {
|
||||
"customType": {
|
||||
"type": "string",
|
||||
"description": "Custom Type."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Each entry can have a type which indicates standard type of that entry. For example, keyword could be of type occupation or outlook. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "Keyword."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserLanguage": {
|
||||
"id": "UserLanguage",
|
||||
"type": "object",
|
||||
"description": "JSON template for a language entry.",
|
||||
"properties": {
|
||||
"customLanguage": {
|
||||
"type": "string",
|
||||
"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"
|
||||
},
|
||||
"languageCode": {
|
||||
"type": "string",
|
||||
"description": "Language Code. Should be used for storing Google III LanguageCode string representation for language. Illegal values cause SchemaException."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserLocation": {
|
||||
"id": "UserLocation",
|
||||
"type": "object",
|
||||
@@ -2126,7 +2200,7 @@
|
||||
"properties": {
|
||||
"area": {
|
||||
"type": "string",
|
||||
"description": "Textual location. This is most useful for display purposes to concisely describe the location. E.g. \"Mountain View, CA\", \"Near Seattle\", \"US-NYC-9TH 9A209A\"."
|
||||
"description": "Textual location. This is most useful for display purposes to concisely describe the location. For example, \"Mountain View, CA\", \"Near Seattle\", \"US-NYC-9TH 9A209A\"."
|
||||
},
|
||||
"buildingId": {
|
||||
"type": "string",
|
||||
@@ -2146,7 +2220,7 @@
|
||||
},
|
||||
"floorSection": {
|
||||
"type": "string",
|
||||
"description": "Floor Section. More specific location within the floor. E.g. if a floor is divided into sections \"A\", \"B\", and \"C\", this field would identify one of those values."
|
||||
"description": "Floor section. More specific location within the floor. For example, if a floor is divided into sections \"A\", \"B\", and \"C\", this field would identify one of those values."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
@@ -2224,6 +2298,11 @@
|
||||
"type": "string",
|
||||
"description": "The domain to which the organization belongs to."
|
||||
},
|
||||
"fullTimeEquivalent": {
|
||||
"type": "integer",
|
||||
"description": "The full-time equivalent percent within the organization (100000 = 100%).",
|
||||
"format": "int32"
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Location of the organization. This need not be fully qualified address."
|
||||
@@ -2331,9 +2410,9 @@
|
||||
"description": "The GECOS (user information) for this account."
|
||||
},
|
||||
"gid": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"description": "The default group ID.",
|
||||
"format": "int32"
|
||||
"format": "uint64"
|
||||
},
|
||||
"homeDirectory": {
|
||||
"type": "string",
|
||||
@@ -2352,9 +2431,9 @@
|
||||
"description": "System identifier for which account Username or Uid apply to."
|
||||
},
|
||||
"uid": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"description": "The POSIX compliant user ID.",
|
||||
"format": "int32"
|
||||
"format": "uint64"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
@@ -2740,6 +2819,11 @@
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the organization unit or its Id",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"description": "Token to specify next page in the list",
|
||||
@@ -2788,6 +2872,36 @@
|
||||
"https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"
|
||||
]
|
||||
},
|
||||
"moveDevicesToOu": {
|
||||
"id": "directory.chromeosdevices.moveDevicesToOu",
|
||||
"path": "customer/{customerId}/devices/chromeos/moveDevicesToOu",
|
||||
"httpMethod": "POST",
|
||||
"description": "Move or insert multiple Chrome OS Devices to Organization Unit",
|
||||
"parameters": {
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"description": "Immutable ID of the G Suite account",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"orgUnitPath": {
|
||||
"type": "string",
|
||||
"description": "Full path of the target organization unit or its Id",
|
||||
"required": true,
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"customerId",
|
||||
"orgUnitPath"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "ChromeOsMoveDevicesToOu"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/admin.directory.device.chromeos"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "directory.chromeosdevices.patch",
|
||||
"path": "customer/{customerId}/devices/chromeos/{deviceId}",
|
||||
|
||||
Reference in New Issue
Block a user