Skip to content

Commit

Permalink
feat(iap): update the API
Browse files Browse the repository at this point in the history
#### iap:v1

The following keys were added:
- schemas.PolicyName.description
- schemas.PolicyName.properties.id.description

The following keys were changed:
- schemas.PolicyName.properties.type.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent 1f42f6b commit b77b50e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions discovery/iap-v1.json
Expand Up @@ -487,7 +487,7 @@
}
}
},
"revision": "20210326",
"revision": "20210409",
"rootUrl": "https://iap.googleapis.com/",
"schemas": {
"AccessDeniedPageSettings": {
Expand Down Expand Up @@ -813,17 +813,19 @@
"type": "object"
},
"PolicyName": {
"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.",
"id": "PolicyName",
"properties": {
"id": {
"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.",
"type": "string"
},
"region": {
"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\".",
"type": "string"
},
"type": {
"description": "Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.",
"description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.",
"type": "string"
}
},
Expand Down
8 changes: 7 additions & 1 deletion src/apis/iap/v1.ts
Expand Up @@ -389,14 +389,20 @@ export namespace iap_v1 {
*/
resource?: Schema$Resource;
}
/**
* 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.
*/
export interface Schema$PolicyName {
/**
* 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.
*/
id?: string | null;
/**
* 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".
*/
region?: string | null;
/**
* Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
* Resource type. Types are defined in IAM's .service files. Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
*/
type?: string | null;
}
Expand Down

0 comments on commit b77b50e

Please sign in to comment.