-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: extend timeouts for check consistency
PiperOrigin-RevId: 717421943 Source-Link: googleapis/googleapis@07737e5 Source-Link: googleapis/googleapis-gen@c41ade9 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQmlndGFibGUuQWRtaW4uVjIvLk93bEJvdC55YW1sIiwiaCI6ImM0MWFkZTllZjdhOTBhMWUzOGJkYTc4MTMyNDQ3YTRiN2U1MGMxMWQifQ==
- Loading branch information
1 parent
26c2a9d
commit 9755d46
Showing
301 changed files
with
93,226 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
....Admin.V2.GeneratedSnippets/BigtableInstanceAdminClient.CreateAppProfileAsyncSnippet.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,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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async_flattened] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfileAsync</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 CreateAppProfileAsync() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string parent = "projects/[PROJECT]/instances/[INSTANCE]"; | ||
string appProfileId = ""; | ||
AppProfile appProfile = new AppProfile(); | ||
// Make the request | ||
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async_flattened] | ||
} |
50 changes: 50 additions & 0 deletions
50
...eratedSnippets/BigtableInstanceAdminClient.CreateAppProfileRequestObjectAsyncSnippet.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,50 @@ | ||
// 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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfileAsync</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 CreateAppProfileRequestObjectAsync() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CreateAppProfileRequest request = new CreateAppProfileRequest | ||
{ | ||
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"), | ||
AppProfileId = "", | ||
AppProfile = new AppProfile(), | ||
IgnoreWarnings = false, | ||
}; | ||
// Make the request | ||
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(request); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async] | ||
} |
49 changes: 49 additions & 0 deletions
49
...2.GeneratedSnippets/BigtableInstanceAdminClient.CreateAppProfileRequestObjectSnippet.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,49 @@ | ||
// 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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfile</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 CreateAppProfileRequestObject() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create(); | ||
// Initialize request argument(s) | ||
CreateAppProfileRequest request = new CreateAppProfileRequest | ||
{ | ||
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"), | ||
AppProfileId = "", | ||
AppProfile = new AppProfile(), | ||
IgnoreWarnings = false, | ||
}; | ||
// Make the request | ||
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(request); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync] | ||
} |
46 changes: 46 additions & 0 deletions
46
...eratedSnippets/BigtableInstanceAdminClient.CreateAppProfileResourceNamesAsyncSnippet.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,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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async_flattened_resourceNames] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfileAsync</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 CreateAppProfileResourceNamesAsync() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"); | ||
string appProfileId = ""; | ||
AppProfile appProfile = new AppProfile(); | ||
// Make the request | ||
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_async_flattened_resourceNames] | ||
} |
45 changes: 45 additions & 0 deletions
45
...2.GeneratedSnippets/BigtableInstanceAdminClient.CreateAppProfileResourceNamesSnippet.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,45 @@ | ||
// 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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync_flattened_resourceNames] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfile</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 CreateAppProfileResourceNames() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create(); | ||
// Initialize request argument(s) | ||
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"); | ||
string appProfileId = ""; | ||
AppProfile appProfile = new AppProfile(); | ||
// Make the request | ||
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(parent, appProfileId, appProfile); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync_flattened_resourceNames] | ||
} |
45 changes: 45 additions & 0 deletions
45
...table.Admin.V2.GeneratedSnippets/BigtableInstanceAdminClient.CreateAppProfileSnippet.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,45 @@ | ||
// 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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync_flattened] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateAppProfile</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 CreateAppProfile() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create(); | ||
// Initialize request argument(s) | ||
string parent = "projects/[PROJECT]/instances/[INSTANCE]"; | ||
string appProfileId = ""; | ||
AppProfile appProfile = new AppProfile(); | ||
// Make the request | ||
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(parent, appProfileId, appProfile); | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateAppProfile_sync_flattened] | ||
} |
63 changes: 63 additions & 0 deletions
63
...ble.Admin.V2.GeneratedSnippets/BigtableInstanceAdminClient.CreateClusterAsyncSnippet.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,63 @@ | ||
// 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 bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateCluster_async_flattened] | ||
using Google.Cloud.Bigtable.Admin.V2; | ||
using Google.LongRunning; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBigtableInstanceAdminClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateClusterAsync</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 CreateClusterAsync() | ||
{ | ||
// Create client | ||
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string parent = "projects/[PROJECT]/instances/[INSTANCE]"; | ||
string clusterId = ""; | ||
Cluster cluster = new Cluster(); | ||
// Make the request | ||
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(parent, clusterId, cluster); | ||
|
||
// Poll until the returned long-running operation is complete | ||
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync(); | ||
// Retrieve the operation result | ||
Cluster result = completedResponse.Result; | ||
|
||
// Or get the name of the operation | ||
string operationName = response.Name; | ||
// This name can be stored, then the long-running operation retrieved later by name | ||
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName); | ||
// Check if the retrieved long-running operation has completed | ||
if (retrievedResponse.IsCompleted) | ||
{ | ||
// If it has completed, then access the result | ||
Cluster retrievedResult = retrievedResponse.Result; | ||
} | ||
} | ||
} | ||
// [END bigtableadmin_v2_generated_BigtableInstanceAdmin_CreateCluster_async_flattened] | ||
} |
Oops, something went wrong.