Skip to content

Commit 904ddaa

Browse files
Regenerate people client (googleapis#6899)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-01-21 03:56:38,765 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-people nothing to commit, working tree clean 2021-01-21 03:56:39,190 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-01-21 03:56:39,602 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-01-21 03:56:39,604 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-01-21 03:56:41,238 synthtool [INFO] > Generating people v1. INFO:synthtool:Generating people v1. 2021-01-21 03:56:41,239 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'id', u'Empty'), (u'properties', OrderedDict()), (u'type', u'object')]) Writing json metadata to clients/google-api-services-people/v1.metadata.json 2021-01-21 03:56:42,434 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-people/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-people/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/4a4fb13c-f97c-4f7c-b43e-0df969d5164e/targets - [ ] To automatically regenerate this PR, check this box.
1 parent 502ae7d commit 904ddaa

File tree

10 files changed

+2753
-2415
lines changed

10 files changed

+2753
-2415
lines changed

clients/google-api-services-people/v1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-people",
5-
"version": "v1-rev20210112-1.31.0"
5+
"version": "v1-rev20210120-1.31.0"
66
}
77
}

clients/google-api-services-people/v1/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-people</artifactId>
25-
<version>v1-rev20210112-1.31.0</version>
25+
<version>v1-rev20210120-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-people:v1-rev20210112-1.31.0'
38+
compile 'com.google.apis:google-api-services-people:v1-rev20210120-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-people/v1/1.31.0/com/google/api/services/people/v1/PeopleService.java

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,32 @@ public BatchGet setUploadProtocol(java.lang.String uploadProtocol) {
256256
return (BatchGet) super.setUploadProtocol(uploadProtocol);
257257
}
258258

259+
/**
260+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
261+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
262+
* are: * clientData * groupType * memberCount * metadata * name
263+
*/
264+
@com.google.api.client.util.Key
265+
private String groupFields;
266+
267+
/** Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`,
268+
`groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData *
269+
groupType * memberCount * metadata * name
270+
*/
271+
public String getGroupFields() {
272+
return groupFields;
273+
}
274+
275+
/**
276+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
277+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
278+
* are: * clientData * groupType * memberCount * metadata * name
279+
*/
280+
public BatchGet setGroupFields(String groupFields) {
281+
this.groupFields = groupFields;
282+
return this;
283+
}
284+
259285
/**
260286
* Optional. Specifies the maximum number of members to return for each group. Defaults to 0
261287
* if not set, which will return zero members.
@@ -679,6 +705,32 @@ public Get setResourceName(java.lang.String resourceName) {
679705
return this;
680706
}
681707

708+
/**
709+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
710+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
711+
* are: * clientData * groupType * memberCount * metadata * name
712+
*/
713+
@com.google.api.client.util.Key
714+
private String groupFields;
715+
716+
/** Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`,
717+
`groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData *
718+
groupType * memberCount * metadata * name
719+
*/
720+
public String getGroupFields() {
721+
return groupFields;
722+
}
723+
724+
/**
725+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
726+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
727+
* are: * clientData * groupType * memberCount * metadata * name
728+
*/
729+
public Get setGroupFields(String groupFields) {
730+
this.groupFields = groupFields;
731+
return this;
732+
}
733+
682734
/**
683735
* Optional. Specifies the maximum number of members to return. Defaults to 0 if not set,
684736
* which will return zero members.
@@ -810,6 +862,32 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
810862
return (List) super.setUploadProtocol(uploadProtocol);
811863
}
812864

865+
/**
866+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
867+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
868+
* are: * clientData * groupType * memberCount * metadata * name
869+
*/
870+
@com.google.api.client.util.Key
871+
private String groupFields;
872+
873+
/** Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`,
874+
`groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData *
875+
groupType * memberCount * metadata * name
876+
*/
877+
public String getGroupFields() {
878+
return groupFields;
879+
}
880+
881+
/**
882+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
883+
* `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields
884+
* are: * clientData * groupType * memberCount * metadata * name
885+
*/
886+
public List setGroupFields(String groupFields) {
887+
this.groupFields = groupFields;
888+
return this;
889+
}
890+
813891
/**
814892
* Optional. The maximum number of resources to return. Valid values are between 1 and 1000,
815893
* inclusive. Defaults to 30 if not set or set to 0.

clients/google-api-services-people/v1/1.31.0/com/google/api/services/people/v1/model/ContactGroup.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class ContactGroup extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* The group's client data.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GroupClientData> clientData;
38+
3239
/**
3340
* The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web
3441
* cache validation.
@@ -92,6 +99,23 @@ public final class ContactGroup extends com.google.api.client.json.GenericJson {
9299
@com.google.api.client.util.Key
93100
private java.lang.String resourceName;
94101

102+
/**
103+
* The group's client data.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.util.List<GroupClientData> getClientData() {
107+
return clientData;
108+
}
109+
110+
/**
111+
* The group's client data.
112+
* @param clientData clientData or {@code null} for none
113+
*/
114+
public ContactGroup setClientData(java.util.List<GroupClientData> clientData) {
115+
this.clientData = clientData;
116+
return this;
117+
}
118+
95119
/**
96120
* The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web
97121
* cache validation.

clients/google-api-services-people/v1/1.31.0/com/google/api/services/people/v1/model/CreateContactGroupRequest.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ public final class CreateContactGroupRequest extends com.google.api.client.json.
3636
@com.google.api.client.util.Key
3737
private ContactGroup contactGroup;
3838

39+
/**
40+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
41+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
42+
* * groupType * metadata * name
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String readGroupFields;
47+
3948
/**
4049
* Required. The contact group to create.
4150
* @return value or {@code null} for none
@@ -53,6 +62,27 @@ public CreateContactGroupRequest setContactGroup(ContactGroup contactGroup) {
5362
return this;
5463
}
5564

65+
/**
66+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
67+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
68+
* * groupType * metadata * name
69+
* @return value or {@code null} for none
70+
*/
71+
public String getReadGroupFields() {
72+
return readGroupFields;
73+
}
74+
75+
/**
76+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
77+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
78+
* * groupType * metadata * name
79+
* @param readGroupFields readGroupFields or {@code null} for none
80+
*/
81+
public CreateContactGroupRequest setReadGroupFields(String readGroupFields) {
82+
this.readGroupFields = readGroupFields;
83+
return this;
84+
}
85+
5686
@Override
5787
public CreateContactGroupRequest set(String fieldName, Object value) {
5888
return (CreateContactGroupRequest) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.people.v1.model;
18+
19+
/**
20+
* Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
21+
* LINT.IfChange(GroupClientData)
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the People API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GroupClientData extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The client specified key of the client data.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String key;
39+
40+
/**
41+
* The client specified value of the client data.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String value;
46+
47+
/**
48+
* The client specified key of the client data.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getKey() {
52+
return key;
53+
}
54+
55+
/**
56+
* The client specified key of the client data.
57+
* @param key key or {@code null} for none
58+
*/
59+
public GroupClientData setKey(java.lang.String key) {
60+
this.key = key;
61+
return this;
62+
}
63+
64+
/**
65+
* The client specified value of the client data.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getValue() {
69+
return value;
70+
}
71+
72+
/**
73+
* The client specified value of the client data.
74+
* @param value value or {@code null} for none
75+
*/
76+
public GroupClientData setValue(java.lang.String value) {
77+
this.value = value;
78+
return this;
79+
}
80+
81+
@Override
82+
public GroupClientData set(String fieldName, Object value) {
83+
return (GroupClientData) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GroupClientData clone() {
88+
return (GroupClientData) super.clone();
89+
}
90+
91+
}

clients/google-api-services-people/v1/1.31.0/com/google/api/services/people/v1/model/UpdateContactGroupRequest.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,24 @@ public final class UpdateContactGroupRequest extends com.google.api.client.json.
3636
@com.google.api.client.util.Key
3737
private ContactGroup contactGroup;
3838

39+
/**
40+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
41+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
42+
* * groupType * memberCount * metadata * name
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String readGroupFields;
47+
48+
/**
49+
* Optional. A field mask to restrict which fields on the group are updated. Multiple fields can
50+
* be specified by separating them with commas. Defaults to `name` if not set or set to empty.
51+
* Updated fields are replaced. Valid values are: * clientData * name
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private String updateGroupFields;
56+
3957
/**
4058
* Required. The contact group to update.
4159
* @return value or {@code null} for none
@@ -53,6 +71,48 @@ public UpdateContactGroupRequest setContactGroup(ContactGroup contactGroup) {
5371
return this;
5472
}
5573

74+
/**
75+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
76+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
77+
* * groupType * memberCount * metadata * name
78+
* @return value or {@code null} for none
79+
*/
80+
public String getReadGroupFields() {
81+
return readGroupFields;
82+
}
83+
84+
/**
85+
* Optional. A field mask to restrict which fields on the group are returned. Defaults to
86+
* `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData
87+
* * groupType * memberCount * metadata * name
88+
* @param readGroupFields readGroupFields or {@code null} for none
89+
*/
90+
public UpdateContactGroupRequest setReadGroupFields(String readGroupFields) {
91+
this.readGroupFields = readGroupFields;
92+
return this;
93+
}
94+
95+
/**
96+
* Optional. A field mask to restrict which fields on the group are updated. Multiple fields can
97+
* be specified by separating them with commas. Defaults to `name` if not set or set to empty.
98+
* Updated fields are replaced. Valid values are: * clientData * name
99+
* @return value or {@code null} for none
100+
*/
101+
public String getUpdateGroupFields() {
102+
return updateGroupFields;
103+
}
104+
105+
/**
106+
* Optional. A field mask to restrict which fields on the group are updated. Multiple fields can
107+
* be specified by separating them with commas. Defaults to `name` if not set or set to empty.
108+
* Updated fields are replaced. Valid values are: * clientData * name
109+
* @param updateGroupFields updateGroupFields or {@code null} for none
110+
*/
111+
public UpdateContactGroupRequest setUpdateGroupFields(String updateGroupFields) {
112+
this.updateGroupFields = updateGroupFields;
113+
return this;
114+
}
115+
56116
@Override
57117
public UpdateContactGroupRequest set(String fieldName, Object value) {
58118
return (UpdateContactGroupRequest) super.set(fieldName, value);

clients/google-api-services-people/v1/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-people</artifactId>
11-
<version>v1-rev20210112-1.31.0</version>
12-
<name>People API v1-rev20210112-1.31.0</name>
11+
<version>v1-rev20210120-1.31.0</version>
12+
<name>People API v1-rev20210120-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)