Skip to content

Commit 292d80c

Browse files
regen: Regenerate Google.Cloud.Dataform.V1 at API commit 29214fa
feat: add folders and teamFolders related changes to v1 docs: A comment for field `force` in message `.google.cloud.dataform.v1.DeleteRepositoryRequest` is changed PiperOrigin-RevId: 888723444 Source-Link: googleapis/googleapis@29214fa
1 parent 08e83d9 commit 292d80c

110 files changed

Lines changed: 34302 additions & 5527 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_async_flattened]
20+
using Google.Cloud.Dataform.V1;
21+
using System.Threading.Tasks;
22+
23+
public sealed partial class GeneratedDataformClientSnippets
24+
{
25+
/// <summary>Snippet for CreateFolderAsync</summary>
26+
/// <remarks>
27+
/// This snippet has been automatically generated and should be regarded as a code template only.
28+
/// It will require modifications to work:
29+
/// - It may require correct/in-range values for request initialization.
30+
/// - It may require specifying regional endpoints when creating the service client as shown in
31+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
32+
/// </remarks>
33+
public async Task CreateFolderAsync()
34+
{
35+
// Create client
36+
DataformClient dataformClient = await DataformClient.CreateAsync();
37+
// Initialize request argument(s)
38+
string parent = "projects/[PROJECT]/locations/[LOCATION]";
39+
Folder folder = new Folder();
40+
// Make the request
41+
Folder response = await dataformClient.CreateFolderAsync(parent, folder);
42+
}
43+
}
44+
// [END dataform_v1_generated_Dataform_CreateFolder_async_flattened]
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_async]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.Dataform.V1;
22+
using System.Threading.Tasks;
23+
24+
public sealed partial class GeneratedDataformClientSnippets
25+
{
26+
/// <summary>Snippet for CreateFolderAsync</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public async Task CreateFolderRequestObjectAsync()
35+
{
36+
// Create client
37+
DataformClient dataformClient = await DataformClient.CreateAsync();
38+
// Initialize request argument(s)
39+
CreateFolderRequest request = new CreateFolderRequest
40+
{
41+
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
42+
Folder = new Folder(),
43+
};
44+
// Make the request
45+
Folder response = await dataformClient.CreateFolderAsync(request);
46+
}
47+
}
48+
// [END dataform_v1_generated_Dataform_CreateFolder_async]
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_sync]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.Dataform.V1;
22+
23+
public sealed partial class GeneratedDataformClientSnippets
24+
{
25+
/// <summary>Snippet for CreateFolder</summary>
26+
/// <remarks>
27+
/// This snippet has been automatically generated and should be regarded as a code template only.
28+
/// It will require modifications to work:
29+
/// - It may require correct/in-range values for request initialization.
30+
/// - It may require specifying regional endpoints when creating the service client as shown in
31+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
32+
/// </remarks>
33+
public void CreateFolderRequestObject()
34+
{
35+
// Create client
36+
DataformClient dataformClient = DataformClient.Create();
37+
// Initialize request argument(s)
38+
CreateFolderRequest request = new CreateFolderRequest
39+
{
40+
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
41+
Folder = new Folder(),
42+
};
43+
// Make the request
44+
Folder response = dataformClient.CreateFolder(request);
45+
}
46+
}
47+
// [END dataform_v1_generated_Dataform_CreateFolder_sync]
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_async_flattened_resourceNames]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.Dataform.V1;
22+
using System.Threading.Tasks;
23+
24+
public sealed partial class GeneratedDataformClientSnippets
25+
{
26+
/// <summary>Snippet for CreateFolderAsync</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public async Task CreateFolderResourceNamesAsync()
35+
{
36+
// Create client
37+
DataformClient dataformClient = await DataformClient.CreateAsync();
38+
// Initialize request argument(s)
39+
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
40+
Folder folder = new Folder();
41+
// Make the request
42+
Folder response = await dataformClient.CreateFolderAsync(parent, folder);
43+
}
44+
}
45+
// [END dataform_v1_generated_Dataform_CreateFolder_async_flattened_resourceNames]
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_sync_flattened_resourceNames]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.Dataform.V1;
22+
23+
public sealed partial class GeneratedDataformClientSnippets
24+
{
25+
/// <summary>Snippet for CreateFolder</summary>
26+
/// <remarks>
27+
/// This snippet has been automatically generated and should be regarded as a code template only.
28+
/// It will require modifications to work:
29+
/// - It may require correct/in-range values for request initialization.
30+
/// - It may require specifying regional endpoints when creating the service client as shown in
31+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
32+
/// </remarks>
33+
public void CreateFolderResourceNames()
34+
{
35+
// Create client
36+
DataformClient dataformClient = DataformClient.Create();
37+
// Initialize request argument(s)
38+
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
39+
Folder folder = new Folder();
40+
// Make the request
41+
Folder response = dataformClient.CreateFolder(parent, folder);
42+
}
43+
}
44+
// [END dataform_v1_generated_Dataform_CreateFolder_sync_flattened_resourceNames]
45+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateFolder_sync_flattened]
20+
using Google.Cloud.Dataform.V1;
21+
22+
public sealed partial class GeneratedDataformClientSnippets
23+
{
24+
/// <summary>Snippet for CreateFolder</summary>
25+
/// <remarks>
26+
/// This snippet has been automatically generated and should be regarded as a code template only.
27+
/// It will require modifications to work:
28+
/// - It may require correct/in-range values for request initialization.
29+
/// - It may require specifying regional endpoints when creating the service client as shown in
30+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
31+
/// </remarks>
32+
public void CreateFolder()
33+
{
34+
// Create client
35+
DataformClient dataformClient = DataformClient.Create();
36+
// Initialize request argument(s)
37+
string parent = "projects/[PROJECT]/locations/[LOCATION]";
38+
Folder folder = new Folder();
39+
// Make the request
40+
Folder response = dataformClient.CreateFolder(parent, folder);
41+
}
42+
}
43+
// [END dataform_v1_generated_Dataform_CreateFolder_sync_flattened]
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateTeamFolder_async_flattened]
20+
using Google.Cloud.Dataform.V1;
21+
using System.Threading.Tasks;
22+
23+
public sealed partial class GeneratedDataformClientSnippets
24+
{
25+
/// <summary>Snippet for CreateTeamFolderAsync</summary>
26+
/// <remarks>
27+
/// This snippet has been automatically generated and should be regarded as a code template only.
28+
/// It will require modifications to work:
29+
/// - It may require correct/in-range values for request initialization.
30+
/// - It may require specifying regional endpoints when creating the service client as shown in
31+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
32+
/// </remarks>
33+
public async Task CreateTeamFolderAsync()
34+
{
35+
// Create client
36+
DataformClient dataformClient = await DataformClient.CreateAsync();
37+
// Initialize request argument(s)
38+
string parent = "projects/[PROJECT]/locations/[LOCATION]";
39+
TeamFolder teamFolder = new TeamFolder();
40+
// Make the request
41+
TeamFolder response = await dataformClient.CreateTeamFolderAsync(parent, teamFolder);
42+
}
43+
}
44+
// [END dataform_v1_generated_Dataform_CreateTeamFolder_async_flattened]
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START dataform_v1_generated_Dataform_CreateTeamFolder_async]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.Dataform.V1;
22+
using System.Threading.Tasks;
23+
24+
public sealed partial class GeneratedDataformClientSnippets
25+
{
26+
/// <summary>Snippet for CreateTeamFolderAsync</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public async Task CreateTeamFolderRequestObjectAsync()
35+
{
36+
// Create client
37+
DataformClient dataformClient = await DataformClient.CreateAsync();
38+
// Initialize request argument(s)
39+
CreateTeamFolderRequest request = new CreateTeamFolderRequest
40+
{
41+
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
42+
TeamFolder = new TeamFolder(),
43+
};
44+
// Make the request
45+
TeamFolder response = await dataformClient.CreateTeamFolderAsync(request);
46+
}
47+
}
48+
// [END dataform_v1_generated_Dataform_CreateTeamFolder_async]
49+
}

0 commit comments

Comments
 (0)