Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iam policy details for datascan #8069

Merged
merged 2 commits into from
Jun 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions mmv1/products/dataplex/Datascan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ autogen_async: true
read_query_params: '?view=FULL'
description: |
Represents a user-visible job which provides the insights for the related data source.
iam_policy: !ruby/object:Api::Resource::IamPolicy
method_name_separator: ':'
parent_resource_attribute: 'data_scan_id'
fetch_iam_policy_verb: :GET
import_format:
['projects/{{project}}/locations/{{location}}/dataScans/{{data_scan_id}}', '{{data_scan_id}}']
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
'Official Documentation': 'https://cloud.google.com/dataplex/docs'
Expand All @@ -55,25 +61,25 @@ examples:
- !ruby/object:Provider::Terraform::Examples
name: 'dataplex_datascan_basic_profile'
primary_resource_id: 'basic_profile'
primary_resource_name: 'fmt.Sprintf("tf-test-dataScan%s", context["random_suffix"])'
primary_resource_name: 'fmt.Sprintf("tf-test-datascan%s", context["random_suffix"])'
test_env_vars:
project_name: :PROJECT_NAME
- !ruby/object:Provider::Terraform::Examples
name: 'dataplex_datascan_full_profile'
primary_resource_id: 'full_profile'
primary_resource_name: 'fmt.Sprintf("tf-test-dataScan%s", context["random_suffix"])'
primary_resource_name: 'fmt.Sprintf("tf-test-datascan%s", context["random_suffix"])'
test_env_vars:
project_name: :PROJECT_NAME
- !ruby/object:Provider::Terraform::Examples
name: 'dataplex_datascan_basic_quality'
primary_resource_id: 'basic_quality'
primary_resource_name: 'fmt.Sprintf("tf-test-dataScan%s", context["random_suffix"])'
primary_resource_name: 'fmt.Sprintf("tf-test-datascan%s", context["random_suffix"])'
test_env_vars:
project_name: :PROJECT_NAME
- !ruby/object:Provider::Terraform::Examples
name: 'dataplex_datascan_full_quality'
primary_resource_id: 'full_quality'
primary_resource_name: 'fmt.Sprintf("tf-test-dataScan%s", context["random_suffix"])'
primary_resource_name: 'fmt.Sprintf("tf-test-datascan%s", context["random_suffix"])'
test_env_vars:
project_name: :PROJECT_NAME
parameters:
Expand Down