public interface GetMembershipRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()Required. Resource name of the membership to retrieve.
 To get the app's own membership by using user
 authentication,
 you can optionally use spaces/{space}/members/app.
 Format: spaces/{space}/members/{member} or spaces/{space}/members/app
 You can use the user's email as an alias for {member}. For example,
 spaces/{space}/members/example@gmail.com where example@gmail.com is the
 email of the Google Chat user.
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public abstract ByteString getNameBytes()Required. Resource name of the membership to retrieve.
 To get the app's own membership by using user
 authentication,
 you can optionally use spaces/{space}/members/app.
 Format: spaces/{space}/members/{member} or spaces/{space}/members/app
 You can use the user's email as an alias for {member}. For example,
 spaces/{space}/members/example@gmail.com where example@gmail.com is the
 email of the Google Chat user.
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getUseAdminAccess()
public abstract boolean getUseAdminAccess() Optional. When true, the method runs using the user's Google Workspace
 administrator privileges.
The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
 Requires the chat.admin.memberships or chat.admin.memberships.readonly
 OAuth 2.0
 scopes.
Getting app memberships in a space isn't supported when using admin access.
 bool use_admin_access = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The useAdminAccess. |