-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add IAM support for Explore content APIs
feat: Add support for custom container for Task feat: Add support for cross project for Task feat: Add support for custom encryption key to be used for encrypt data on the PDs associated with the VMs in your Dataproc cluster for Task feat: Add support for Latest job in Task resource feat: User mode filter in Explore list sessions API feat: Support logging sampled file paths per partition to Cloud logging for Discovery event PiperOrigin-RevId: 461116673 Source-Link: googleapis/googleapis@9af1b9b Source-Link: googleapis/googleapis-gen@5671350 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGF0YXBsZXguVjEvLk93bEJvdC55YW1sIiwiaCI6IjU2NzEzNTA0NWI4NDAwODgwNjgxZjJlZGVmMTc3YjM2ZDU1ZGM1N2MifQ==
- Loading branch information
1 parent
8a79d23
commit 0f67ba8
Showing
31 changed files
with
3,348 additions
and
439 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...le.Cloud.Dataplex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicyAsyncSnippet.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 2022 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! | ||
|
||
#pragma warning disable CS8981 | ||
|
||
namespace Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_async_flattened] | ||
using Google.Cloud.Iam.V1; | ||
using System.Threading.Tasks; | ||
using gcdv = Google.Cloud.Dataplex.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicyAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task GetIamPolicyAsync() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = await ContentServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string resource = "a/wildcard/resource"; | ||
// Make the request | ||
Policy response = await contentServiceClient.GetIamPolicyAsync(resource); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_async_flattened] | ||
} |
49 changes: 49 additions & 0 deletions
49
...plex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicyRequestObjectAsyncSnippet.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 2022 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! | ||
|
||
#pragma warning disable CS8981 | ||
|
||
namespace Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_async] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Iam.V1; | ||
using System.Threading.Tasks; | ||
using gcdv = Google.Cloud.Dataplex.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicyAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task GetIamPolicyRequestObjectAsync() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = await ContentServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
GetIamPolicyRequest request = new GetIamPolicyRequest | ||
{ | ||
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), | ||
Options = new GetPolicyOptions(), | ||
}; | ||
// Make the request | ||
Policy response = await contentServiceClient.GetIamPolicyAsync(request); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_async] | ||
} |
46 changes: 46 additions & 0 deletions
46
....Dataplex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicyRequestObjectSnippet.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 2022 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 Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_sync] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Dataplex.V1; | ||
using Google.Cloud.Iam.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicy</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void GetIamPolicyRequestObject() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = ContentServiceClient.Create(); | ||
// Initialize request argument(s) | ||
GetIamPolicyRequest request = new GetIamPolicyRequest | ||
{ | ||
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), | ||
Options = new GetPolicyOptions(), | ||
}; | ||
// Make the request | ||
Policy response = contentServiceClient.GetIamPolicy(request); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_sync] | ||
} |
45 changes: 45 additions & 0 deletions
45
...plex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicyResourceNamesAsyncSnippet.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 2022 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! | ||
|
||
#pragma warning disable CS8981 | ||
|
||
namespace Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_async_flattened_resourceNames] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Iam.V1; | ||
using System.Threading.Tasks; | ||
using gcdv = Google.Cloud.Dataplex.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicyAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task GetIamPolicyResourceNamesAsync() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = await ContentServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); | ||
// Make the request | ||
Policy response = await contentServiceClient.GetIamPolicyAsync(resource); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_async_flattened_resourceNames] | ||
} |
42 changes: 42 additions & 0 deletions
42
....Dataplex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicyResourceNamesSnippet.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,42 @@ | ||
// Copyright 2022 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 Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_sync_flattened_resourceNames] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Dataplex.V1; | ||
using Google.Cloud.Iam.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicy</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void GetIamPolicyResourceNames() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = ContentServiceClient.Create(); | ||
// Initialize request argument(s) | ||
IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); | ||
// Make the request | ||
Policy response = contentServiceClient.GetIamPolicy(resource); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_sync_flattened_resourceNames] | ||
} |
41 changes: 41 additions & 0 deletions
41
.../Google.Cloud.Dataplex.V1.GeneratedSnippets/ContentServiceClient.GetIamPolicySnippet.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,41 @@ | ||
// Copyright 2022 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 Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_GetIamPolicy_sync_flattened] | ||
using Google.Cloud.Dataplex.V1; | ||
using Google.Cloud.Iam.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for GetIamPolicy</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void GetIamPolicy() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = ContentServiceClient.Create(); | ||
// Initialize request argument(s) | ||
string resource = "a/wildcard/resource"; | ||
// Make the request | ||
Policy response = contentServiceClient.GetIamPolicy(resource); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_GetIamPolicy_sync_flattened] | ||
} |
51 changes: 51 additions & 0 deletions
51
...plex.V1.GeneratedSnippets/ContentServiceClient.SetIamPolicyRequestObjectAsyncSnippet.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,51 @@ | ||
// Copyright 2022 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! | ||
|
||
#pragma warning disable CS8981 | ||
|
||
namespace Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_SetIamPolicy_async] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Iam.V1; | ||
using Google.Protobuf.WellKnownTypes; | ||
using System.Threading.Tasks; | ||
using gcdv = Google.Cloud.Dataplex.V1; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for SetIamPolicyAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task SetIamPolicyRequestObjectAsync() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = await ContentServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
SetIamPolicyRequest request = new SetIamPolicyRequest | ||
{ | ||
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), | ||
Policy = new Policy(), | ||
UpdateMask = new FieldMask(), | ||
}; | ||
// Make the request | ||
Policy response = await contentServiceClient.SetIamPolicyAsync(request); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_SetIamPolicy_async] | ||
} |
48 changes: 48 additions & 0 deletions
48
....Dataplex.V1.GeneratedSnippets/ContentServiceClient.SetIamPolicyRequestObjectSnippet.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 2022 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 Google.Cloud.Dataplex.V1.Snippets | ||
{ | ||
// [START dataplex_v1_generated_ContentService_SetIamPolicy_sync] | ||
using Google.Api.Gax; | ||
using Google.Cloud.Dataplex.V1; | ||
using Google.Cloud.Iam.V1; | ||
using Google.Protobuf.WellKnownTypes; | ||
|
||
public sealed partial class GeneratedContentServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for SetIamPolicy</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void SetIamPolicyRequestObject() | ||
{ | ||
// Create client | ||
ContentServiceClient contentServiceClient = ContentServiceClient.Create(); | ||
// Initialize request argument(s) | ||
SetIamPolicyRequest request = new SetIamPolicyRequest | ||
{ | ||
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), | ||
Policy = new Policy(), | ||
UpdateMask = new FieldMask(), | ||
}; | ||
// Make the request | ||
Policy response = contentServiceClient.SetIamPolicy(request); | ||
} | ||
} | ||
// [END dataplex_v1_generated_ContentService_SetIamPolicy_sync] | ||
} |
Oops, something went wrong.