Skip to content

Commit

Permalink
add requireVerifiedChromeOs as optional (#4758)
Browse files Browse the repository at this point in the history
* add requireVerifiedChromeOs as optional

see https://cloud.google.com/access-context-manager/docs/access-level-attributes

* add to tests
  • Loading branch information
keeleysam authored May 4, 2021
1 parent c8e115d commit accdeca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mmv1/products/accesscontextmanager/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ objects:
The minimum allowed OS version. If not set, any version
of this OS satisfies the constraint.
Format: "major.minor.patch" such as "10.5.301", "9.2.1".
- !ruby/object:Api::Type::Boolean
name: 'requireVerifiedChromeOs'
description: If you specify DESKTOP_CHROME_OS for osType, you can optionally include requireVerifiedChromeOs to require Chrome Verified Access.
- !ruby/object:Api::Type::Enum
name: 'osType'
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ resource "google_access_context_manager_access_level" "test-access" {
require_screen_lock = true
os_constraints {
os_type = "DESKTOP_CHROME_OS"
require_verified_chrome_os = true
}
}
regions = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ resource "google_access_context_manager_access_level" "test-access" {
require_corp_owned = true
os_constraints {
os_type = "DESKTOP_CHROME_OS"
require_verified_chrome_os = true
}
}
regions = [
Expand Down

0 comments on commit accdeca

Please sign in to comment.