Skip to content

Commit

Permalink
feat: Add ConnectActiveConference method to SpacesService
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 730566327

Source-Link: googleapis/googleapis@1674757

Source-Link: googleapis/googleapis-gen@ec2d7f0
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQXBwcy5NZWV0LlYyQmV0YS8uT3dsQm90LnlhbWwiLCJoIjoiZWMyZDdmMGQxNzE0ZmJlNTEyMTJmNmIxMmFkZWM5MGY3OTcwNzA4MyJ9
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Feb 25, 2025
1 parent 4e9cde6 commit 3df6acc
Show file tree
Hide file tree
Showing 13 changed files with 1,723 additions and 171 deletions.
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]
}
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]
}
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]
}
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]
}
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]
}
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]
}
Loading

0 comments on commit 3df6acc

Please sign in to comment.