Class SpacesService.SpacesServiceClient
Client for SpacesService
Inheritance
Inherited Members
Namespace: Google.Apps.Meet.V2
Assembly: Google.Apps.Meet.V2.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 |
---|---|---|
CallInvoker | 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 |
---|---|---|
ChannelBase | 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 |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
CreateSpace(CreateSpaceRequest, CallOptions)
Creates a space.
Declaration
public virtual Space CreateSpace(CreateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
CreateSpaceRequest | request | The request to send to the server. |
CallOptions | 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 |
---|---|---|
CreateSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | 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 |
---|---|---|
CreateSpaceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | 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 |
---|---|---|
CreateSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | The call object. |
EndActiveConference(EndActiveConferenceRequest, CallOptions)
Ends an active conference (if there's one).
Declaration
public virtual Empty EndActiveConference(EndActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
EndActiveConferenceRequest | request | The request to send to the server. |
CallOptions | 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).
Declaration
public virtual Empty EndActiveConference(EndActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
EndActiveConferenceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | 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).
Declaration
public virtual AsyncUnaryCall<Empty> EndActiveConferenceAsync(EndActiveConferenceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
EndActiveConferenceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
EndActiveConferenceAsync(EndActiveConferenceRequest, Metadata, DateTime?, CancellationToken)
Ends an active conference (if there's one).
Declaration
public virtual AsyncUnaryCall<Empty> EndActiveConferenceAsync(EndActiveConferenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
EndActiveConferenceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetSpace(GetSpaceRequest, CallOptions)
Gets a space by space_id
or meeting_code
.
Declaration
public virtual Space GetSpace(GetSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetSpaceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
GetSpace(GetSpaceRequest, Metadata, DateTime?, CancellationToken)
Gets a space by space_id
or meeting_code
.
Declaration
public virtual Space GetSpace(GetSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
GetSpaceAsync(GetSpaceRequest, CallOptions)
Gets a space by space_id
or meeting_code
.
Declaration
public virtual AsyncUnaryCall<Space> GetSpaceAsync(GetSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetSpaceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | The call object. |
GetSpaceAsync(GetSpaceRequest, Metadata, DateTime?, CancellationToken)
Gets a space by space_id
or meeting_code
.
Declaration
public virtual AsyncUnaryCall<Space> GetSpaceAsync(GetSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | 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 |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
SpacesService.SpacesServiceClient |
Overrides
UpdateSpace(UpdateSpaceRequest, CallOptions)
Updates a space.
Declaration
public virtual Space UpdateSpace(UpdateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateSpaceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
UpdateSpace(UpdateSpaceRequest, Metadata, DateTime?, CancellationToken)
Updates a space.
Declaration
public virtual Space UpdateSpace(UpdateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Space | The response received from the server. |
UpdateSpaceAsync(UpdateSpaceRequest, CallOptions)
Updates a space.
Declaration
public virtual AsyncUnaryCall<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateSpaceRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | The call object. |
UpdateSpaceAsync(UpdateSpaceRequest, Metadata, DateTime?, CancellationToken)
Updates a space.
Declaration
public virtual AsyncUnaryCall<Space> UpdateSpaceAsync(UpdateSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateSpaceRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Space> | The call object. |