Skip to content

Commit

Permalink
Add iam policy details for datascan (GoogleCloudPlatform#8069)
Browse files Browse the repository at this point in the history
* add iam policy details for datascan

* Use lower case for examples resource name
  • Loading branch information
saurabh-net authored and Khaled Hassan committed Jun 7, 2023
1 parent 705bd74 commit 5e7ae13
Showing 1 changed file with 10 additions and 4 deletions.
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

0 comments on commit 5e7ae13

Please sign in to comment.