-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
ConnectActiveConference
method to SpacesService
PiperOrigin-RevId: 730566327 Source-Link: googleapis/googleapis@1674757 Source-Link: googleapis/googleapis-gen@ec2d7f0 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQXBwcy5NZWV0LlYyQmV0YS8uT3dsQm90LnlhbWwiLCJoIjoiZWMyZDdmMGQxNzE0ZmJlNTEyMTJmNmIxMmFkZWM5MGY3OTcwNzA4MyJ9
- Loading branch information
1 parent
4e9cde6
commit 3df6acc
Showing
13 changed files
with
1,723 additions
and
171 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...eet.V2Beta.GeneratedSnippets/SpacesServiceClient.ConnectActiveConferenceAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_async_flattened] | ||
using Google.Apps.Meet.V2Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConferenceAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ConnectActiveConferenceAsync() | ||
{ | ||
// Create client | ||
SpacesServiceClient spacesServiceClient = await SpacesServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string name = "spaces/[SPACE]"; | ||
// Make the request | ||
ConnectActiveConferenceResponse response = await spacesServiceClient.ConnectActiveConferenceAsync(name); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_async_flattened] | ||
} |
48 changes: 48 additions & 0 deletions
48
...neratedSnippets/SpacesServiceClient.ConnectActiveConferenceRequestObjectAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_async] | ||
using Google.Apps.Meet.V2Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConferenceAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ConnectActiveConferenceRequestObjectAsync() | ||
{ | ||
// 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); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_async] | ||
} |
47 changes: 47 additions & 0 deletions
47
...ta.GeneratedSnippets/SpacesServiceClient.ConnectActiveConferenceRequestObjectSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_sync] | ||
using Google.Apps.Meet.V2Beta; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConference</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ConnectActiveConferenceRequestObject() | ||
{ | ||
// 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); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_sync] | ||
} |
44 changes: 44 additions & 0 deletions
44
...neratedSnippets/SpacesServiceClient.ConnectActiveConferenceResourceNamesAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_async_flattened_resourceNames] | ||
using Google.Apps.Meet.V2Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConferenceAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ConnectActiveConferenceResourceNamesAsync() | ||
{ | ||
// 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); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_async_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
...ta.GeneratedSnippets/SpacesServiceClient.ConnectActiveConferenceResourceNamesSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_sync_flattened_resourceNames] | ||
using Google.Apps.Meet.V2Beta; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConference</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ConnectActiveConferenceResourceNames() | ||
{ | ||
// Create client | ||
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create(); | ||
// Initialize request argument(s) | ||
SpaceName name = SpaceName.FromSpace("[SPACE]"); | ||
// Make the request | ||
ConnectActiveConferenceResponse response = spacesServiceClient.ConnectActiveConference(name); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_sync_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
...pps.Meet.V2Beta.GeneratedSnippets/SpacesServiceClient.ConnectActiveConferenceSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2025 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace GoogleCSharpSnippets | ||
{ | ||
// [START meet_v2beta_generated_SpacesService_ConnectActiveConference_sync_flattened] | ||
using Google.Apps.Meet.V2Beta; | ||
|
||
public sealed partial class GeneratedSpacesServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ConnectActiveConference</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ConnectActiveConference() | ||
{ | ||
// Create client | ||
SpacesServiceClient spacesServiceClient = SpacesServiceClient.Create(); | ||
// Initialize request argument(s) | ||
string name = "spaces/[SPACE]"; | ||
// Make the request | ||
ConnectActiveConferenceResponse response = spacesServiceClient.ConnectActiveConference(name); | ||
} | ||
} | ||
// [END meet_v2beta_generated_SpacesService_ConnectActiveConference_sync_flattened] | ||
} |
Oops, something went wrong.