Skip to content

Commit 00a4b27

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - schemas.Membership.properties.state.readOnly (Total Keys: 1)
1 parent 8695fff commit 00a4b27

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/dyn/chat_v1.spaces.members.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ <h3>Method Details</h3>
108108

109109
{ # Represents a membership relation in Google Chat.
110110
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the membership a.k.a. the time at which the member joined the space, if applicable.
111-
&quot;member&quot;: { # A user in Google Chat. # A user in Google Chat. Represents a person in the People API. Formatted as `users/person_id` where `person_id` is available from the [People API](https://developers.google.com/people/api/rest/v1/people).
111+
&quot;member&quot;: { # A user in Google Chat. # A user in Google Chat. Represents a [person](https://developers.google.com/people/api/rest/v1/people) in the People API. Format: `users/{person}`
112112
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s display name.
113113
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
114114
&quot;isAnonymous&quot;: True or False, # True when the user is deleted or the user&#x27;s profile is not visible.
115115
&quot;name&quot;: &quot;A String&quot;, # Resource name for a Google Chat user. Formatted as `users/AAAAAAAAAAA`. Represents a [person](https://developers.google.com/people/api/rest/v1/people#Person) in the People API.
116116
&quot;type&quot;: &quot;A String&quot;, # User type.
117117
},
118118
&quot;name&quot;: &quot;A String&quot;,
119-
&quot;state&quot;: &quot;A String&quot;, # State of the membership. Required for `CreateMembership`. Read-only for other usage.
119+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the membership.
120120
}</pre>
121121
</div>
122122

@@ -140,15 +140,15 @@ <h3>Method Details</h3>
140140
&quot;memberships&quot;: [ # List of memberships in the requested (or first) page.
141141
{ # Represents a membership relation in Google Chat.
142142
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the membership a.k.a. the time at which the member joined the space, if applicable.
143-
&quot;member&quot;: { # A user in Google Chat. # A user in Google Chat. Represents a person in the People API. Formatted as `users/person_id` where `person_id` is available from the [People API](https://developers.google.com/people/api/rest/v1/people).
143+
&quot;member&quot;: { # A user in Google Chat. # A user in Google Chat. Represents a [person](https://developers.google.com/people/api/rest/v1/people) in the People API. Format: `users/{person}`
144144
&quot;displayName&quot;: &quot;A String&quot;, # The user&#x27;s display name.
145145
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
146146
&quot;isAnonymous&quot;: True or False, # True when the user is deleted or the user&#x27;s profile is not visible.
147147
&quot;name&quot;: &quot;A String&quot;, # Resource name for a Google Chat user. Formatted as `users/AAAAAAAAAAA`. Represents a [person](https://developers.google.com/people/api/rest/v1/people#Person) in the People API.
148148
&quot;type&quot;: &quot;A String&quot;, # User type.
149149
},
150150
&quot;name&quot;: &quot;A String&quot;,
151-
&quot;state&quot;: &quot;A String&quot;, # State of the membership. Required for `CreateMembership`. Read-only for other usage.
151+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the membership.
152152
},
153153
],
154154
&quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token to retrieve the next page of results. It will be empty for the last page of results.

googleapiclient/discovery_cache/documents/chat.v1.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@
642642
}
643643
}
644644
},
645-
"revision": "20220116",
645+
"revision": "20220129",
646646
"rootUrl": "https://chat.googleapis.com/",
647647
"schemas": {
648648
"ActionParameter": {
@@ -2366,13 +2366,13 @@
23662366
},
23672367
"member": {
23682368
"$ref": "User",
2369-
"description": "A user in Google Chat. Represents a person in the People API. Formatted as `users/person_id` where `person_id` is available from the [People API](https://developers.google.com/people/api/rest/v1/people)."
2369+
"description": "A user in Google Chat. Represents a [person](https://developers.google.com/people/api/rest/v1/people) in the People API. Format: `users/{person}`"
23702370
},
23712371
"name": {
23722372
"type": "string"
23732373
},
23742374
"state": {
2375-
"description": "State of the membership. Required for `CreateMembership`. Read-only for other usage.",
2375+
"description": "Output only. State of the membership.",
23762376
"enum": [
23772377
"MEMBERSHIP_STATE_UNSPECIFIED",
23782378
"JOINED",
@@ -2385,6 +2385,7 @@
23852385
"The user has been invited, is able to join the space, but currently has not joined.",
23862386
"The user is not a member of the space, has not been invited and is not able to join the space."
23872387
],
2388+
"readOnly": true,
23882389
"type": "string"
23892390
}
23902391
},

0 commit comments

Comments
 (0)