Skip to content

Commit

Permalink
fix(people): update the API
Browse files Browse the repository at this point in the history
#### people:v1

The following keys were changed:
- resources.people.methods.updateContact.parameters.resourceName.description
- schemas.Person.properties.resourceName.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent fdb70dc commit fa1e010
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions discovery/people-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@
"type": "string"
},
"resourceName": {
"description": "The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id}`.",
"description": "The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id}`.",
"location": "path",
"pattern": "^people/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1172,7 +1172,7 @@
}
}
},
"revision": "20220613",
"revision": "20230131",
"rootUrl": "https://people.googleapis.com/",
"schemas": {
"Address": {
Expand Down Expand Up @@ -2677,7 +2677,7 @@
"type": "array"
},
"resourceName": {
"description": "The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id}`.",
"description": "The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id}`.",
"type": "string"
},
"sipAddresses": {
Expand Down
6 changes: 3 additions & 3 deletions src/apis/people/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ export namespace people_v1 {
*/
residences?: Schema$Residence[];
/**
* The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id\}`.
* The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id\}`.
*/
resourceName?: string | null;
/**
Expand Down Expand Up @@ -4952,7 +4952,7 @@ export namespace people_v1 {
* const res = await people.people.updateContact({
* // Optional. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Defaults to all fields if not set. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
* personFields: 'placeholder-value',
* // The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id\}`.
* // The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id\}`.
* resourceName: 'people/[^/]+',
* // Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
* sources: 'placeholder-value',
Expand Down Expand Up @@ -5467,7 +5467,7 @@ export namespace people_v1 {
*/
personFields?: string;
/**
* The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id\}`.
* The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id\}`.
*/
resourceName?: string;
/**
Expand Down

0 comments on commit fa1e010

Please sign in to comment.