Update vendored dependencies

This includes github.com/kurin/blazer 0.2.0, which resolves #1291
This commit is contained in:
Alexander Neumann 2017-10-01 10:13:39 +02:00
parent ba23d24dd1
commit 61cb1cc6f8
1044 changed files with 203022 additions and 97709 deletions

View file

@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/O3yStPLO-_BtPqwnPm5OpyYaKQ4\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/JB19efQGH5f-JRT49yZz7BTyNQU\"",
"discoveryVersion": "v1",
"id": "admin:directory_v1",
"name": "admin",
"canonicalName": "directory",
"version": "directory_v1",
"revision": "20170723",
"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",
@ -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",
@ -1843,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"
@ -2113,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",
@ -2395,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",
@ -2416,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",

View file

@ -608,6 +608,11 @@ type CalendarResource struct {
// Etags: ETag of the resource.
Etags string `json:"etags,omitempty"`
// GeneratedResourceName: 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)
GeneratedResourceName string `json:"generatedResourceName,omitempty"`
// Kind: The type of the resource. For calendar resources, the value is
// admin#directory#resources#calendars#CalendarResource.
Kind string `json:"kind,omitempty"`
@ -2649,6 +2654,8 @@ type User struct {
ExternalIds interface{} `json:"externalIds,omitempty"`
Gender interface{} `json:"gender,omitempty"`
// HashFunction: Hash function name for password. Supported are MD5,
// SHA-1 and crypt
HashFunction string `json:"hashFunction,omitempty"`
@ -2942,6 +2949,41 @@ func (s *UserExternalId) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type UserGender struct {
// AddressMeAs: 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".
AddressMeAs string `json:"addressMeAs,omitempty"`
// CustomGender: Custom gender.
CustomGender string `json:"customGender,omitempty"`
// Type: Gender.
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "AddressMeAs") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AddressMeAs") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *UserGender) MarshalJSON() ([]byte, error) {
type noMethod UserGender
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// UserIm: JSON template for instant messenger of an user.
type UserIm struct {
// CustomProtocol: Custom protocol.
@ -3352,7 +3394,7 @@ type UserPosixAccount struct {
Gecos string `json:"gecos,omitempty"`
// Gid: The default group ID.
Gid int64 `json:"gid,omitempty"`
Gid uint64 `json:"gid,omitempty,string"`
// HomeDirectory: The path to the home directory for this account.
HomeDirectory string `json:"homeDirectory,omitempty"`
@ -3368,7 +3410,7 @@ type UserPosixAccount struct {
SystemId string `json:"systemId,omitempty"`
// Uid: The POSIX compliant user ID.
Uid int64 `json:"uid,omitempty"`
Uid uint64 `json:"uid,omitempty,string"`
// Username: The username of the account.
Username string `json:"username,omitempty"`