Class SpacesService.SpacesServiceClient
Client for SpacesService
Inheritance
Inherited Members
Namespace: Google.Apps.Meet.V2Beta
Assembly: Google.Apps.Meet.V2Beta.dll
Syntax
public class SpacesService.SpacesServiceClient : ClientBase<SpacesService.SpacesServiceClient>
Constructors
SpacesServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected SpacesServiceClient()
SpacesServiceClient(CallInvoker)
Creates a new client for SpacesService that uses a custom CallInvoker
.
Declaration
public SpacesServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
Call |
callInvoker | The callInvoker to use to make remote calls. |
SpacesServiceClient(ChannelBase)
Creates a new client for SpacesService
Declaration
public SpacesServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channel | The channel to use to make remote calls. |
SpacesServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected SpacesServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration | The client configuration. |
Methods
ConnectActiveConference(ConnectActiveConferenceRequest, CallOptions)
Developer Preview: Broker a WebRTC connection to the active conference of a space.
On success, clients must use the resulting SDP (Session Description Protocol) answer to establish a WebRTC connection. Once connected, additional functionality is available across WebRTC data channels.
See Meet Media API overview for more details about this connection.
Declaration
public virtual ConnectActiveConferenceResponse ConnectActiveConference(ConnectActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Connect |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Connect |
The response received from the server. |
ConnectActiveConference(ConnectActiveConferenceRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Broker a WebRTC connection to the active conference of a space.
On success, clients must use the resulting SDP (Session Description Protocol) answer to establish a WebRTC connection. Once connected, additional functionality is available across WebRTC data channels.
See Meet Media API overview for more details about this connection.
Declaration
public virtual ConnectActiveConferenceResponse ConnectActiveConference(ConnectActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Connect |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Connect |
The response received from the server. |
ConnectActiveConferenceAsync(ConnectActiveConferenceRequest, CallOptions)
Developer Preview: Broker a WebRTC connection to the active conference of a space.
On success, clients must use the resulting SDP (Session Description Protocol) answer to establish a WebRTC connection. Once connected, additional functionality is available across WebRTC data channels.
See Meet Media API overview for more details about this connection.
Declaration
public virtual AsyncUnaryCall<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(ConnectActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Connect |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
ConnectActiveConferenceAsync(ConnectActiveConferenceRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Broker a WebRTC connection to the active conference of a space.
On success, clients must use the resulting SDP (Session Description Protocol) answer to establish a WebRTC connection. Once connected, additional functionality is available across WebRTC data channels.
See Meet Media API overview for more details about this connection.
Declaration
public virtual AsyncUnaryCall<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(ConnectActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Connect |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
CreateMember(CreateMemberRequest, CallOptions)
Developer Preview: Create a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual Member CreateMember(CreateMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Member | The response received from the server. |
CreateMember(CreateMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Create a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual Member CreateMember(CreateMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Member | The response received from the server. |
CreateMemberAsync(CreateMemberRequest, CallOptions)
Developer Preview: Create a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<Member> CreateMemberAsync(CreateMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
CreateMemberAsync(CreateMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Create a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<Member> CreateMemberAsync(CreateMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
CreateSpace(CreateSpaceRequest, CallOptions)
Creates a space.
Declaration
public virtual Space CreateSpace(CreateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
CreateSpace(CreateSpaceRequest, Metadata, DateTime?, CancellationToken)
Creates a space.
Declaration
public virtual Space CreateSpace(CreateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
CreateSpaceAsync(CreateSpaceRequest, CallOptions)
Creates a space.
Declaration
public virtual AsyncUnaryCall<Space> CreateSpaceAsync(CreateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
CreateSpaceAsync(CreateSpaceRequest, Metadata, DateTime?, CancellationToken)
Creates a space.
Declaration
public virtual AsyncUnaryCall<Space> CreateSpaceAsync(CreateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Create |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
DeleteMember(DeleteMemberRequest, CallOptions)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Empty DeleteMember(DeleteMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteMember(DeleteMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Empty DeleteMember(DeleteMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteMemberAsync(DeleteMemberRequest, CallOptions)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteMemberAsync(DeleteMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
DeleteMemberAsync(DeleteMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteMemberAsync(DeleteMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
EndActiveConference(EndActiveConferenceRequest, CallOptions)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Empty EndActiveConference(EndActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
End |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
EndActiveConference(EndActiveConferenceRequest, Metadata, DateTime?, CancellationToken)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Empty EndActiveConference(EndActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
End |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
EndActiveConferenceAsync(EndActiveConferenceRequest, CallOptions)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual AsyncUnaryCall<Empty> EndActiveConferenceAsync(EndActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
End |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
EndActiveConferenceAsync(EndActiveConferenceRequest, Metadata, DateTime?, CancellationToken)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual AsyncUnaryCall<Empty> EndActiveConferenceAsync(EndActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
End |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
GetMember(GetMemberRequest, CallOptions)
Developer Preview: Get a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual Member GetMember(GetMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Member | The response received from the server. |
GetMember(GetMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Get a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual Member GetMember(GetMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Member | The response received from the server. |
GetMemberAsync(GetMemberRequest, CallOptions)
Developer Preview: Get a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<Member> GetMemberAsync(GetMemberRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
GetMemberAsync(GetMemberRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: Get a member.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted, this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<Member> GetMemberAsync(GetMemberRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
GetSpace(GetSpaceRequest, CallOptions)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Space GetSpace(GetSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
GetSpace(GetSpaceRequest, Metadata, DateTime?, CancellationToken)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Space GetSpace(GetSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
GetSpaceAsync(GetSpaceRequest, CallOptions)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual AsyncUnaryCall<Space> GetSpaceAsync(GetSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
GetSpaceAsync(GetSpaceRequest, Metadata, DateTime?, CancellationToken)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual AsyncUnaryCall<Space> GetSpaceAsync(GetSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
ListMembers(ListMembersRequest, CallOptions)
Developer Preview: List members.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted this API response will default to
"name,email,role,user".
Declaration
public virtual ListMembersResponse ListMembers(ListMembersRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
List |
The response received from the server. |
ListMembers(ListMembersRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: List members.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted this API response will default to
"name,email,role,user".
Declaration
public virtual ListMembersResponse ListMembers(ListMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
List |
The response received from the server. |
ListMembersAsync(ListMembersRequest, CallOptions)
Developer Preview: List members.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<ListMembersResponse> ListMembersAsync(ListMembersRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
ListMembersAsync(ListMembersRequest, Metadata, DateTime?, CancellationToken)
Developer Preview: List members.
This API supports the fields
parameter in
SystemParameterContext.
When the fields
parameter is omitted this API response will default to
"name,email,role,user".
Declaration
public virtual AsyncUnaryCall<ListMembersResponse> ListMembersAsync(ListMembersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override SpacesService.SpacesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration |
Returns
Type | Description |
---|---|
Spaces |
Overrides
UpdateSpace(UpdateSpaceRequest, CallOptions)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Space UpdateSpace(UpdateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
UpdateSpace(UpdateSpaceRequest, Metadata, DateTime?, CancellationToken)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Space UpdateSpace(UpdateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
UpdateSpaceAsync(UpdateSpaceRequest, CallOptions)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual AsyncUnaryCall<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
UpdateSpaceAsync(UpdateSpaceRequest, Metadata, DateTime?, CancellationToken)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual AsyncUnaryCall<Space> UpdateSpaceAsync(UpdateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |