@google-apps/chat 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,6 +128,28 @@ message Membership {
|
|
|
128
128
|
ROLE_ASSISTANT_MANAGER = 4;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
// Represents the affiliation of a user to the Google Workspace organization
|
|
132
|
+
// that owns the space. This enum may have more values added in the future.
|
|
133
|
+
enum Affiliation {
|
|
134
|
+
// Default value. This value is unused.
|
|
135
|
+
AFFILIATION_UNSPECIFIED = 0;
|
|
136
|
+
|
|
137
|
+
// An account managed by the same Google Workspace organization that owns
|
|
138
|
+
// the space.
|
|
139
|
+
INTERNAL = 1;
|
|
140
|
+
|
|
141
|
+
// An account external to the Google Workspace organization that owns the
|
|
142
|
+
// space (e.g., a consumer account, or an account managed by a different
|
|
143
|
+
// Workspace organization).
|
|
144
|
+
EXTERNAL = 2;
|
|
145
|
+
|
|
146
|
+
// An account managed by the Workspace organization that owns the space,
|
|
147
|
+
// but provisioned for a user who is external to the organization (e.g., a
|
|
148
|
+
// Guest user). To learn more about guests, see
|
|
149
|
+
// https://support.google.com/chat/answer/16997417.
|
|
150
|
+
MANAGED_EXTERNAL = 3;
|
|
151
|
+
}
|
|
152
|
+
|
|
131
153
|
// Identifier. Resource name of the membership, assigned by the server.
|
|
132
154
|
//
|
|
133
155
|
// Format: `spaces/{space}/members/{member}`
|
|
@@ -175,6 +197,11 @@ message Membership {
|
|
|
175
197
|
(google.api.field_behavior) = IMMUTABLE,
|
|
176
198
|
(google.api.field_behavior) = OPTIONAL
|
|
177
199
|
];
|
|
200
|
+
|
|
201
|
+
// Output only. A user's relationship to the Workspace organization that owns
|
|
202
|
+
// the space. In spaces owned by consumer accounts, the affiliation of all
|
|
203
|
+
// members is `EXTERNAL`.
|
|
204
|
+
Affiliation affiliation = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
178
205
|
}
|
|
179
206
|
|
|
180
207
|
// Request message for creating a membership.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -16528,6 +16528,9 @@ export namespace google {
|
|
|
16528
16528
|
|
|
16529
16529
|
/** Membership deleteTime */
|
|
16530
16530
|
deleteTime?: (google.protobuf.ITimestamp|null);
|
|
16531
|
+
|
|
16532
|
+
/** Membership affiliation */
|
|
16533
|
+
affiliation?: (google.chat.v1.Membership.Affiliation|keyof typeof google.chat.v1.Membership.Affiliation|null);
|
|
16531
16534
|
}
|
|
16532
16535
|
|
|
16533
16536
|
/** Represents a Membership. */
|
|
@@ -16560,6 +16563,9 @@ export namespace google {
|
|
|
16560
16563
|
/** Membership deleteTime. */
|
|
16561
16564
|
public deleteTime?: (google.protobuf.ITimestamp|null);
|
|
16562
16565
|
|
|
16566
|
+
/** Membership affiliation. */
|
|
16567
|
+
public affiliation: (google.chat.v1.Membership.Affiliation|keyof typeof google.chat.v1.Membership.Affiliation);
|
|
16568
|
+
|
|
16563
16569
|
/** Membership memberType. */
|
|
16564
16570
|
public memberType?: ("member"|"groupMember");
|
|
16565
16571
|
|
|
@@ -16658,6 +16664,14 @@ export namespace google {
|
|
|
16658
16664
|
ROLE_MANAGER = 2,
|
|
16659
16665
|
ROLE_ASSISTANT_MANAGER = 4
|
|
16660
16666
|
}
|
|
16667
|
+
|
|
16668
|
+
/** Affiliation enum. */
|
|
16669
|
+
enum Affiliation {
|
|
16670
|
+
AFFILIATION_UNSPECIFIED = 0,
|
|
16671
|
+
INTERNAL = 1,
|
|
16672
|
+
EXTERNAL = 2,
|
|
16673
|
+
MANAGED_EXTERNAL = 3
|
|
16674
|
+
}
|
|
16661
16675
|
}
|
|
16662
16676
|
|
|
16663
16677
|
/** Properties of a CreateMembershipRequest. */
|