Skip to content

Commit 200e026

Browse files
yoshi-automationsofisl
authored andcommitted
feat(dataform): update the API
#### dataform:v1beta1 The following keys were added: - schemas.IamPolicyOverrideView.description - schemas.IamPolicyOverrideView.id - schemas.IamPolicyOverrideView.properties.iamPolicyName.$ref - schemas.IamPolicyOverrideView.properties.iamPolicyName.description - schemas.IamPolicyOverrideView.properties.isActive.description - schemas.IamPolicyOverrideView.properties.isActive.type - schemas.IamPolicyOverrideView.type - schemas.PolicyName.description - schemas.PolicyName.id - schemas.PolicyName.properties.id.description - schemas.PolicyName.properties.id.type - schemas.PolicyName.properties.region.description - schemas.PolicyName.properties.region.type - schemas.PolicyName.properties.type.description - schemas.PolicyName.properties.type.type - schemas.PolicyName.type
1 parent d317416 commit 200e026

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

discovery/dataform-v1beta1.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@
21472147
}
21482148
}
21492149
},
2150-
"revision": "20250608",
2150+
"revision": "20250708",
21512151
"rootUrl": "https://dataform.googleapis.com/",
21522152
"schemas": {
21532153
"ActionErrorTable": {
@@ -2977,6 +2977,21 @@
29772977
},
29782978
"type": "object"
29792979
},
2980+
"IamPolicyOverrideView": {
2981+
"description": "Contains metadata about the IAM policy override for a given Dataform resource. If is_active is true, this the policy encoded in iam_policy_name is the source of truth for this resource. Will be provided in internal ESV2 views for: Workspaces, Repositories, Folders, TeamFolders.",
2982+
"id": "IamPolicyOverrideView",
2983+
"properties": {
2984+
"iamPolicyName": {
2985+
"$ref": "PolicyName",
2986+
"description": "The IAM policy name for the resource."
2987+
},
2988+
"isActive": {
2989+
"description": "Whether the IAM policy encoded in this view is active.",
2990+
"type": "boolean"
2991+
}
2992+
},
2993+
"type": "object"
2994+
},
29802995
"IncrementalLoadMode": {
29812996
"description": "Load definition for incremental load modes",
29822997
"id": "IncrementalLoadMode",
@@ -3547,6 +3562,25 @@
35473562
},
35483563
"type": "object"
35493564
},
3565+
"PolicyName": {
3566+
"description": "An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.",
3567+
"id": "PolicyName",
3568+
"properties": {
3569+
"id": {
3570+
"description": "Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment.",
3571+
"type": "string"
3572+
},
3573+
"region": {
3574+
"description": "For Cloud IAM: The location of the Policy. Must be empty or \"global\" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to \"local\".",
3575+
"type": "string"
3576+
},
3577+
"type": {
3578+
"description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc.",
3579+
"type": "string"
3580+
}
3581+
},
3582+
"type": "object"
3583+
},
35503584
"PullGitCommitsRequest": {
35513585
"description": "`PullGitCommits` request message.",
35523586
"id": "PullGitCommitsRequest",

src/apis/dataform/v1beta1.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,19 @@ export namespace dataform_v1beta1 {
776776
*/
777777
url?: string | null;
778778
}
779+
/**
780+
* Contains metadata about the IAM policy override for a given Dataform resource. If is_active is true, this the policy encoded in iam_policy_name is the source of truth for this resource. Will be provided in internal ESV2 views for: Workspaces, Repositories, Folders, TeamFolders.
781+
*/
782+
export interface Schema$IamPolicyOverrideView {
783+
/**
784+
* The IAM policy name for the resource.
785+
*/
786+
iamPolicyName?: Schema$PolicyName;
787+
/**
788+
* Whether the IAM policy encoded in this view is active.
789+
*/
790+
isActive?: boolean | null;
791+
}
779792
/**
780793
* Load definition for incremental load modes
781794
*/
@@ -1198,6 +1211,23 @@ export namespace dataform_v1beta1 {
11981211
*/
11991212
version?: number | null;
12001213
}
1214+
/**
1215+
* An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.
1216+
*/
1217+
export interface Schema$PolicyName {
1218+
/**
1219+
* Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment.
1220+
*/
1221+
id?: string | null;
1222+
/**
1223+
* For Cloud IAM: The location of the Policy. Must be empty or "global" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to "local".
1224+
*/
1225+
region?: string | null;
1226+
/**
1227+
* Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc.
1228+
*/
1229+
type?: string | null;
1230+
}
12011231
/**
12021232
* `PullGitCommits` request message.
12031233
*/

0 commit comments

Comments
 (0)