Class SpacesServiceClient
SpacesService client wrapper, for convenient use.
Namespace: Google.Apps.Meet.V2Beta
Assembly: Google.Apps.Meet.V2Beta.dll
Syntax
public abstract class SpacesServiceClient
Remarks
REST API for services dealing with spaces.
Properties
DefaultEndpoint
The default endpoint for the SpacesService service, which is a host of "meet.googleapis.com" and a port of 443.
Declaration
public static string DefaultEndpoint { get; }
Property Value
| Type | Description |
|---|---|
| string |
DefaultScopes
The default SpacesService scopes.
Declaration
public static IReadOnlyList<string> DefaultScopes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Remarks
The default SpacesService scopes are:
- https://www.googleapis.com/auth/meetings.conference.media.audio.readonly
- https://www.googleapis.com/auth/meetings.conference.media.readonly
- https://www.googleapis.com/auth/meetings.conference.media.video.readonly
- https://www.googleapis.com/auth/meetings.space.created
- https://www.googleapis.com/auth/meetings.space.readonly
- https://www.googleapis.com/auth/meetings.space.settings
GrpcClient
The underlying gRPC SpacesService client
Declaration
public virtual SpacesService.SpacesServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| SpacesService.SpacesServiceClient |
ServiceMetadata
The service metadata associated with this client type.
Declaration
public static ServiceMetadata ServiceMetadata { get; }
Property Value
| Type | Description |
|---|---|
| ServiceMetadata |
Methods
ConnectActiveConference(ConnectActiveConferenceRequest, CallSettings)
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, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ConnectActiveConferenceResponse | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
ConnectActiveConferenceRequest request = new ConnectActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
Offer = "",
};
// Make the request
ConnectActiveConferenceResponse response = spacesServiceClient.ConnectActiveConference(request);
ConnectActiveConference(SpaceName, CallSettings)
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(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ConnectActiveConferenceResponse | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
ConnectActiveConferenceResponse response = spacesServiceClient.ConnectActiveConference(name);
ConnectActiveConference(string, CallSettings)
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(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ConnectActiveConferenceResponse | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
ConnectActiveConferenceResponse response = spacesServiceClient.ConnectActiveConference(name);
ConnectActiveConferenceAsync(ConnectActiveConferenceRequest, CallSettings)
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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(ConnectActiveConferenceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
ConnectActiveConferenceRequest request = new ConnectActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
Offer = "",
};
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(request);
ConnectActiveConferenceAsync(ConnectActiveConferenceRequest, 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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(ConnectActiveConferenceRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
ConnectActiveConferenceRequest request = new ConnectActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
Offer = "",
};
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(request);
ConnectActiveConferenceAsync(SpaceName, CallSettings)
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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(name);
ConnectActiveConferenceAsync(SpaceName, 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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(SpaceName name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(name);
ConnectActiveConferenceAsync(string, CallSettings)
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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(name);
ConnectActiveConferenceAsync(string, 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 Task<ConnectActiveConferenceResponse> ConnectActiveConferenceAsync(string name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format: spaces/{spaceId} |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<ConnectActiveConferenceResponse> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(name);
Create()
Synchronously creates a SpacesServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SpacesServiceClientBuilder.
Declaration
public static SpacesServiceClient Create()
Returns
| Type | Description |
|---|---|
| SpacesServiceClient | The created SpacesServiceClient. |
CreateAsync(CancellationToken)
Asynchronously creates a SpacesServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SpacesServiceClientBuilder.
Declaration
public static Task<SpacesServiceClient> CreateAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The CancellationToken to use while creating the client. |
Returns
| Type | Description |
|---|---|
| Task<SpacesServiceClient> | The task representing the created SpacesServiceClient. |
CreateMember(CreateMemberRequest, CallSettings)
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, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
CreateMemberRequest request = new CreateMemberRequest
{
ParentAsSpaceName = SpaceName.FromSpace("[SPACE]"),
Member = new Member(),
};
// Make the request
Member response = spacesServiceClient.CreateMember(request);
CreateMember(SpaceName, Member, CallSettings)
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(SpaceName parent, Member member, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromSpace("[SPACE]");
Member member = new Member();
// Make the request
Member response = spacesServiceClient.CreateMember(parent, member);
CreateMember(string, Member, CallSettings)
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(string parent, Member member, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string parent = "spaces/[SPACE]";
Member member = new Member();
// Make the request
Member response = spacesServiceClient.CreateMember(parent, member);
CreateMemberAsync(CreateMemberRequest, CallSettings)
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 Task<Member> CreateMemberAsync(CreateMemberRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
CreateMemberRequest request = new CreateMemberRequest
{
ParentAsSpaceName = SpaceName.FromSpace("[SPACE]"),
Member = new Member(),
};
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(request);
CreateMemberAsync(CreateMemberRequest, 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 Task<Member> CreateMemberAsync(CreateMemberRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMemberRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
CreateMemberRequest request = new CreateMemberRequest
{
ParentAsSpaceName = SpaceName.FromSpace("[SPACE]"),
Member = new Member(),
};
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(request);
CreateMemberAsync(SpaceName, Member, CallSettings)
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 Task<Member> CreateMemberAsync(SpaceName parent, Member member, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromSpace("[SPACE]");
Member member = new Member();
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(parent, member);
CreateMemberAsync(SpaceName, Member, 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 Task<Member> CreateMemberAsync(SpaceName parent, Member member, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromSpace("[SPACE]");
Member member = new Member();
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(parent, member);
CreateMemberAsync(string, Member, CallSettings)
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 Task<Member> CreateMemberAsync(string parent, Member member, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "spaces/[SPACE]";
Member member = new Member();
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(parent, member);
CreateMemberAsync(string, Member, 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 Task<Member> CreateMemberAsync(string parent, Member member, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: spaces/{space} |
| Member | member | Required. The member to be created. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "spaces/[SPACE]";
Member member = new Member();
// Make the request
Member response = await spacesServiceClient.CreateMemberAsync(parent, member);
CreateSpace(CreateSpaceRequest, CallSettings)
Creates a space.
Declaration
public virtual Space CreateSpace(CreateSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest { Space = new Space(), };
// Make the request
Space response = spacesServiceClient.CreateSpace(request);
CreateSpace(Space, CallSettings)
Creates a space.
Declaration
public virtual Space CreateSpace(Space space, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Space to be created. As of May 2023, the input space can be empty. Later on the input space can be non-empty when space configuration is introduced. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
Space space = new Space();
// Make the request
Space response = spacesServiceClient.CreateSpace(space);
CreateSpaceAsync(CreateSpaceRequest, CallSettings)
Creates a space.
Declaration
public virtual Task<Space> CreateSpaceAsync(CreateSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest { Space = new Space(), };
// Make the request
Space response = await spacesServiceClient.CreateSpaceAsync(request);
CreateSpaceAsync(CreateSpaceRequest, CancellationToken)
Creates a space.
Declaration
public virtual Task<Space> CreateSpaceAsync(CreateSpaceRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest { Space = new Space(), };
// Make the request
Space response = await spacesServiceClient.CreateSpaceAsync(request);
CreateSpaceAsync(Space, CallSettings)
Creates a space.
Declaration
public virtual Task<Space> CreateSpaceAsync(Space space, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Space to be created. As of May 2023, the input space can be empty. Later on the input space can be non-empty when space configuration is introduced. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
// Make the request
Space response = await spacesServiceClient.CreateSpaceAsync(space);
CreateSpaceAsync(Space, CancellationToken)
Creates a space.
Declaration
public virtual Task<Space> CreateSpaceAsync(Space space, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Space to be created. As of May 2023, the input space can be empty. Later on the input space can be non-empty when space configuration is introduced. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
// Make the request
Space response = await spacesServiceClient.CreateSpaceAsync(space);
DeleteMember(DeleteMemberRequest, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual void DeleteMember(DeleteMemberRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
DeleteMemberRequest request = new DeleteMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
spacesServiceClient.DeleteMember(request);
DeleteMember(MemberName, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual void DeleteMember(MemberName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
spacesServiceClient.DeleteMember(name);
DeleteMember(string, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual void DeleteMember(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
spacesServiceClient.DeleteMember(name);
DeleteMemberAsync(DeleteMemberRequest, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(DeleteMemberRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteMemberRequest request = new DeleteMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
await spacesServiceClient.DeleteMemberAsync(request);
DeleteMemberAsync(DeleteMemberRequest, CancellationToken)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(DeleteMemberRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMemberRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteMemberRequest request = new DeleteMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
await spacesServiceClient.DeleteMemberAsync(request);
DeleteMemberAsync(MemberName, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(MemberName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
await spacesServiceClient.DeleteMemberAsync(name);
DeleteMemberAsync(MemberName, CancellationToken)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(MemberName name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
await spacesServiceClient.DeleteMemberAsync(name);
DeleteMemberAsync(string, CallSettings)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
await spacesServiceClient.DeleteMemberAsync(name);
DeleteMemberAsync(string, CancellationToken)
Developer Preview: Delete the member who was previously assigned roles in the space.
Declaration
public virtual Task DeleteMemberAsync(string name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
await spacesServiceClient.DeleteMemberAsync(name);
EndActiveConference(EndActiveConferenceRequest, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual void EndActiveConference(EndActiveConferenceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EndActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
EndActiveConferenceRequest request = new EndActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
spacesServiceClient.EndActiveConference(request);
EndActiveConference(SpaceName, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual void EndActiveConference(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
spacesServiceClient.EndActiveConference(name);
EndActiveConference(string, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual void EndActiveConference(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
spacesServiceClient.EndActiveConference(name);
EndActiveConferenceAsync(EndActiveConferenceRequest, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(EndActiveConferenceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EndActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
EndActiveConferenceRequest request = new EndActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(request);
EndActiveConferenceAsync(EndActiveConferenceRequest, CancellationToken)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(EndActiveConferenceRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| EndActiveConferenceRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
EndActiveConferenceRequest request = new EndActiveConferenceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(request);
EndActiveConferenceAsync(SpaceName, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(name);
EndActiveConferenceAsync(SpaceName, CancellationToken)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(SpaceName name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(name);
EndActiveConferenceAsync(string, CallSettings)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(name);
EndActiveConferenceAsync(string, CancellationToken)
Ends an active conference (if there's one).
For an example, see End active conference.
Declaration
public virtual Task EndActiveConferenceAsync(string name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
For more information, see How Meet identifies a meeting space. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
await spacesServiceClient.EndActiveConferenceAsync(name);
GetMember(GetMemberRequest, CallSettings)
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, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
GetMemberRequest request = new GetMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
Member response = spacesServiceClient.GetMember(request);
GetMember(MemberName, CallSettings)
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(MemberName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
Member response = spacesServiceClient.GetMember(name);
GetMember(string, CallSettings)
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(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Member | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
Member response = spacesServiceClient.GetMember(name);
GetMemberAsync(GetMemberRequest, CallSettings)
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 Task<Member> GetMemberAsync(GetMemberRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMemberRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
GetMemberRequest request = new GetMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(request);
GetMemberAsync(GetMemberRequest, 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 Task<Member> GetMemberAsync(GetMemberRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMemberRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
GetMemberRequest request = new GetMemberRequest
{
MemberName = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]"),
};
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(request);
GetMemberAsync(MemberName, CallSettings)
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 Task<Member> GetMemberAsync(MemberName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(name);
GetMemberAsync(MemberName, 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 Task<Member> GetMemberAsync(MemberName name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberName | name | Required. Format: “spaces/{space}/members/{member}” |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
MemberName name = MemberName.FromSpaceMember("[SPACE]", "[MEMBER]");
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(name);
GetMemberAsync(string, CallSettings)
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 Task<Member> GetMemberAsync(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(name);
GetMemberAsync(string, 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 Task<Member> GetMemberAsync(string name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Format: “spaces/{space}/members/{member}” |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Member> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]/members/[MEMBER]";
// Make the request
Member response = await spacesServiceClient.GetMemberAsync(name);
GetSpace(GetSpaceRequest, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Space GetSpace(GetSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
Space response = spacesServiceClient.GetSpace(request);
GetSpace(SpaceName, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Space GetSpace(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
Space response = spacesServiceClient.GetSpace(name);
GetSpace(string, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Space GetSpace(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
Space response = spacesServiceClient.GetSpace(name);
GetSpaceAsync(GetSpaceRequest, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(GetSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(request);
GetSpaceAsync(GetSpaceRequest, CancellationToken)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(GetSpaceRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(request);
GetSpaceAsync(SpaceName, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(SpaceName name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(name);
GetSpaceAsync(SpaceName, CancellationToken)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(SpaceName name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromSpace("[SPACE]");
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(name);
GetSpaceAsync(string, CallSettings)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(string name, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(name);
GetSpaceAsync(string, CancellationToken)
Gets details about a meeting space.
For an example, see Get a meeting space.
Declaration
public virtual Task<Space> GetSpaceAsync(string name, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the space. Format:
A For more information, see How Meet identifies a meeting space. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "spaces/[SPACE]";
// Make the request
Space response = await spacesServiceClient.GetSpaceAsync(name);
ListMembers(ListMembersRequest, CallSettings)
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 PagedEnumerable<ListMembersResponse, Member> ListMembers(ListMembersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMembersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListMembersResponse, Member> | A pageable sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
ListMembersRequest request = new ListMembersRequest
{
ParentAsSpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
PagedEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembers(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Member item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMembersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMembers(SpaceName, string, int?, CallSettings)
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 PagedEnumerable<ListMembersResponse, Member> ListMembers(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | parent | Required. Format: spaces/{space} |
| string | pageToken | The token returned from the previous request. A value of |
| int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListMembersResponse, Member> | A pageable sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromSpace("[SPACE]");
// Make the request
PagedEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembers(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Member item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMembersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMembers(string, string, int?, CallSettings)
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 PagedEnumerable<ListMembersResponse, Member> ListMembers(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: spaces/{space} |
| string | pageToken | The token returned from the previous request. A value of |
| int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListMembersResponse, Member> | A pageable sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
string parent = "spaces/[SPACE]";
// Make the request
PagedEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembers(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Member item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMembersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMembersAsync(ListMembersRequest, CallSettings)
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 PagedAsyncEnumerable<ListMembersResponse, Member> ListMembersAsync(ListMembersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMembersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListMembersResponse, Member> | A pageable asynchronous sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
ListMembersRequest request = new ListMembersRequest
{
ParentAsSpaceName = SpaceName.FromSpace("[SPACE]"),
};
// Make the request
PagedAsyncEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Member item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMembersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMembersAsync(SpaceName, string, int?, CallSettings)
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 PagedAsyncEnumerable<ListMembersResponse, Member> ListMembersAsync(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SpaceName | parent | Required. Format: spaces/{space} |
| string | pageToken | The token returned from the previous request. A value of |
| int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListMembersResponse, Member> | A pageable asynchronous sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromSpace("[SPACE]");
// Make the request
PagedAsyncEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Member item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMembersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMembersAsync(string, string, int?, CallSettings)
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 PagedAsyncEnumerable<ListMembersResponse, Member> ListMembersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: spaces/{space} |
| string | pageToken | The token returned from the previous request. A value of |
| int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListMembersResponse, Member> | A pageable asynchronous sequence of Member resources. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "spaces/[SPACE]";
// Make the request
PagedAsyncEnumerable<ListMembersResponse, Member> response = spacesServiceClient.ListMembersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Member item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMembersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Member item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Member> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Member item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Declaration
public static Task ShutdownDefaultChannelsAsync()
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous shutdown operation. |
Remarks
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateSpace(Space, FieldMask, CallSettings)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Space UpdateSpace(Space space, FieldMask updateMask, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Required. Space to be updated. |
| FieldMask | updateMask | Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = spacesServiceClient.UpdateSpace(space, updateMask);
UpdateSpace(UpdateSpaceRequest, CallSettings)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Space UpdateSpace(UpdateSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Space | The RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
Space = new Space(),
UpdateMask = new FieldMask(),
};
// Make the request
Space response = spacesServiceClient.UpdateSpace(request);
UpdateSpaceAsync(Space, FieldMask, CallSettings)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Task<Space> UpdateSpaceAsync(Space space, FieldMask updateMask, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Required. Space to be updated. |
| FieldMask | updateMask | Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = await spacesServiceClient.UpdateSpaceAsync(space, updateMask);
UpdateSpaceAsync(Space, FieldMask, CancellationToken)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Task<Space> UpdateSpaceAsync(Space space, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| Space | space | Required. Space to be updated. |
| FieldMask | updateMask | Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has "" as paths), it defaults to update all fields provided with values in the request. Using "*" as update_mask will update all fields, including deleting fields not set in the request. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = await spacesServiceClient.UpdateSpaceAsync(space, updateMask);
UpdateSpaceAsync(UpdateSpaceRequest, CallSettings)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Task<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
Space = new Space(),
UpdateMask = new FieldMask(),
};
// Make the request
Space response = await spacesServiceClient.UpdateSpaceAsync(request);
UpdateSpaceAsync(UpdateSpaceRequest, CancellationToken)
Updates details about a meeting space.
For an example, see Update a meeting space.
Declaration
public virtual Task<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSpaceRequest | request | The request object containing all of the parameters for the API call. |
| CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
| Type | Description |
|---|---|
| Task<Space> | A Task containing the RPC response. |
Sample code
// Create client
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
Space = new Space(),
UpdateMask = new FieldMask(),
};
// Make the request
Space response = await spacesServiceClient.UpdateSpaceAsync(request);