Skip to content

Commit

Permalink
feat: Add methods for [configuring meeting spaces and members](https:…
Browse files Browse the repository at this point in the history
…//developers.google.com/meet/api/guides/beta/configuration-beta)

docs: Improve docs for `GetSpaceRequest`, `EndActiveConferenceRequest`, `ListConferenceRecordsRequest`
docs: Remove *Developer Preview* label from methods that are now generally available
feat: Add new OAuth scope `https://www.googleapis.com/auth/meetings.space.settings` to service `SpacesService`

PiperOrigin-RevId: 720295894

Source-Link: googleapis/googleapis@137b7e6

Source-Link: googleapis/googleapis-gen@f8d8ba2
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQXBwcy5NZWV0LlYyQmV0YS8uT3dsQm90LnlhbWwiLCJoIjoiZjhkOGJhMjFmZDdmMDNmMmFhOGE1NDA2ZGY4ZTE4YTM3OTFiYzcyYyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jan 28, 2025
1 parent fc7c5dc commit 68a85a8
Show file tree
Hide file tree
Showing 128 changed files with 36,980 additions and 0 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_ConferenceRecordsService_GetConferenceRecord_async_flattened]
using Google.Apps.Meet.V2Beta;
using System.Threading.Tasks;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecordAsync</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 GetConferenceRecordAsync()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = await ConferenceRecordsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "conferenceRecords/[CONFERENCE_RECORD]";
// Make the request
ConferenceRecord response = await conferenceRecordsServiceClient.GetConferenceRecordAsync(name);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_async_flattened]
}
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_ConferenceRecordsService_GetConferenceRecord_async]
using Google.Apps.Meet.V2Beta;
using System.Threading.Tasks;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecordAsync</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 GetConferenceRecordRequestObjectAsync()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = await ConferenceRecordsServiceClient.CreateAsync();
// Initialize request argument(s)
GetConferenceRecordRequest request = new GetConferenceRecordRequest
{
ConferenceRecordName = ConferenceRecordName.FromConferenceRecord("[CONFERENCE_RECORD]"),
};
// Make the request
ConferenceRecord response = await conferenceRecordsServiceClient.GetConferenceRecordAsync(request);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_async]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// 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_ConferenceRecordsService_GetConferenceRecord_sync]
using Google.Apps.Meet.V2Beta;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecord</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 GetConferenceRecordRequestObject()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = ConferenceRecordsServiceClient.Create();
// Initialize request argument(s)
GetConferenceRecordRequest request = new GetConferenceRecordRequest
{
ConferenceRecordName = ConferenceRecordName.FromConferenceRecord("[CONFERENCE_RECORD]"),
};
// Make the request
ConferenceRecord response = conferenceRecordsServiceClient.GetConferenceRecord(request);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_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_ConferenceRecordsService_GetConferenceRecord_async_flattened_resourceNames]
using Google.Apps.Meet.V2Beta;
using System.Threading.Tasks;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecordAsync</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 GetConferenceRecordResourceNamesAsync()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = await ConferenceRecordsServiceClient.CreateAsync();
// Initialize request argument(s)
ConferenceRecordName name = ConferenceRecordName.FromConferenceRecord("[CONFERENCE_RECORD]");
// Make the request
ConferenceRecord response = await conferenceRecordsServiceClient.GetConferenceRecordAsync(name);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_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_ConferenceRecordsService_GetConferenceRecord_sync_flattened_resourceNames]
using Google.Apps.Meet.V2Beta;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecord</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 GetConferenceRecordResourceNames()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = ConferenceRecordsServiceClient.Create();
// Initialize request argument(s)
ConferenceRecordName name = ConferenceRecordName.FromConferenceRecord("[CONFERENCE_RECORD]");
// Make the request
ConferenceRecord response = conferenceRecordsServiceClient.GetConferenceRecord(name);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_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_ConferenceRecordsService_GetConferenceRecord_sync_flattened]
using Google.Apps.Meet.V2Beta;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetConferenceRecord</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 GetConferenceRecord()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = ConferenceRecordsServiceClient.Create();
// Initialize request argument(s)
string name = "conferenceRecords/[CONFERENCE_RECORD]";
// Make the request
ConferenceRecord response = conferenceRecordsServiceClient.GetConferenceRecord(name);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_sync_flattened]
}
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_ConferenceRecordsService_GetParticipant_async_flattened]
using Google.Apps.Meet.V2Beta;
using System.Threading.Tasks;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetParticipantAsync</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 GetParticipantAsync()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = await ConferenceRecordsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "conferenceRecords/[CONFERENCE_RECORD]/participants/[PARTICIPANT]";
// Make the request
Participant response = await conferenceRecordsServiceClient.GetParticipantAsync(name);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetParticipant_async_flattened]
}
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_ConferenceRecordsService_GetParticipant_async]
using Google.Apps.Meet.V2Beta;
using System.Threading.Tasks;

public sealed partial class GeneratedConferenceRecordsServiceClientSnippets
{
/// <summary>Snippet for GetParticipantAsync</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 GetParticipantRequestObjectAsync()
{
// Create client
ConferenceRecordsServiceClient conferenceRecordsServiceClient = await ConferenceRecordsServiceClient.CreateAsync();
// Initialize request argument(s)
GetParticipantRequest request = new GetParticipantRequest
{
ParticipantName = ParticipantName.FromConferenceRecordParticipant("[CONFERENCE_RECORD]", "[PARTICIPANT]"),
};
// Make the request
Participant response = await conferenceRecordsServiceClient.GetParticipantAsync(request);
}
}
// [END meet_v2beta_generated_ConferenceRecordsService_GetParticipant_async]
}
Loading

0 comments on commit 68a85a8

Please sign in to comment.