@@ -43,9 +43,16 @@ public final class AccessSettings extends com.google.api.client.json.GenericJson
43
43
* been individually invited or added to the space can access it. For details, see [Make a space
44
44
* discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-
45
45
* audience). Format: `audiences/{audience}` To use the default target audience for the Google
46
- * Workspace organization, set to `audiences/default`. This field is not populated when using the
47
- * `chat.bot` scope with [app
46
+ * Workspace organization, set to `audiences/default`. Reading the target audience supports: -
47
+ * [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
48
+ * user) - [App authentication](https://developers.google.com/workspace/chat/authenticate-
49
+ * authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth)
50
+ * with the `chat.app.spaces` scope in [Developer
51
+ * Preview](https://developers.google.com/workspace/preview). This field is not populated when
52
+ * using the `chat.bot` scope with [app
48
53
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
54
+ * Setting the target audience requires [user
55
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
49
56
* The value may be {@code null}.
50
57
*/
51
58
@ com .google .api .client .util .Key
@@ -75,9 +82,16 @@ public AccessSettings setAccessState(java.lang.String accessState) {
75
82
* been individually invited or added to the space can access it. For details, see [Make a space
76
83
* discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-
77
84
* audience). Format: `audiences/{audience}` To use the default target audience for the Google
78
- * Workspace organization, set to `audiences/default`. This field is not populated when using the
79
- * `chat.bot` scope with [app
85
+ * Workspace organization, set to `audiences/default`. Reading the target audience supports: -
86
+ * [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
87
+ * user) - [App authentication](https://developers.google.com/workspace/chat/authenticate-
88
+ * authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth)
89
+ * with the `chat.app.spaces` scope in [Developer
90
+ * Preview](https://developers.google.com/workspace/preview). This field is not populated when
91
+ * using the `chat.bot` scope with [app
80
92
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
93
+ * Setting the target audience requires [user
94
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
81
95
* @return value or {@code null} for none
82
96
*/
83
97
public java .lang .String getAudience () {
@@ -91,9 +105,16 @@ public java.lang.String getAudience() {
91
105
* been individually invited or added to the space can access it. For details, see [Make a space
92
106
* discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-
93
107
* audience). Format: `audiences/{audience}` To use the default target audience for the Google
94
- * Workspace organization, set to `audiences/default`. This field is not populated when using the
95
- * `chat.bot` scope with [app
108
+ * Workspace organization, set to `audiences/default`. Reading the target audience supports: -
109
+ * [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
110
+ * user) - [App authentication](https://developers.google.com/workspace/chat/authenticate-
111
+ * authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth)
112
+ * with the `chat.app.spaces` scope in [Developer
113
+ * Preview](https://developers.google.com/workspace/preview). This field is not populated when
114
+ * using the `chat.bot` scope with [app
96
115
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
116
+ * Setting the target audience requires [user
117
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
97
118
* @param audience audience or {@code null} for none
98
119
*/
99
120
public AccessSettings setAudience (java .lang .String audience ) {
0 commit comments