Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.identity.accesscontextmanager.type;

option csharp_namespace = "Google.Identity.AccessContextManager.Type";
option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/type";
option java_package = "com.google.identity.accesscontextmanager.type";
option java_multiple_files = true;
option java_outer_classname = "TypeProto";
option php_namespace = "Google\\Identity\\AccessContextManager\\Type";
option ruby_package = "Google::Identity::AccessContextManager::Type";

// The encryption state of the device.
enum DeviceEncryptionStatus {
// The encryption status of the device is not specified or not known.
ENCRYPTION_UNSPECIFIED = 0;

// The device does not support encryption.
ENCRYPTION_UNSUPPORTED = 1;

// The device supports encryption, but is currently unencrypted.
UNENCRYPTED = 2;

// The device is encrypted.
ENCRYPTED = 3;
}

// The operating system type of the device.
// Next id: 7
enum OsType {
// The operating system of the device is not specified or not known.
OS_UNSPECIFIED = 0;

// A desktop Mac operating system.
DESKTOP_MAC = 1;

// A desktop Windows operating system.
DESKTOP_WINDOWS = 2;

// A desktop Linux operating system.
DESKTOP_LINUX = 3;

// A desktop ChromeOS operating system.
DESKTOP_CHROME_OS = 6;

// An Android operating system.
ANDROID = 4;

// An iOS operating system.
IOS = 5;
}

// The degree to which the device is managed by the Cloud organization.
enum DeviceManagementLevel {
// The device's management level is not specified or not known.
MANAGEMENT_UNSPECIFIED = 0;

// The device is not managed.
NONE = 1;

// Basic management is enabled, which is generally limited to monitoring and
// wiping the corporate account.
BASIC = 2;

// Complete device management. This includes more thorough monitoring and the
// ability to directly manage the device (such as remote wiping). This can be
// enabled through the Android Enterprise Platform.
COMPLETE = 3;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright 2024 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,6 +16,7 @@

# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/identity/accesscontextmanager/type/device_resources.proto
# Protobuf Python Version: 4.25.3
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
Expand All @@ -39,8 +40,10 @@
_globals,
)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n-com.google.identity.accesscontextmanager.typeB\tTypeProtoP\001ZHgoogle.golang.org/genproto/googleapis/identity/accesscontextmanager/type\252\002)Google.Identity.AccessContextManager.Type\312\002)Google\\Identity\\AccessContextManager\\Type\352\002,Google::Identity::AccessContextManager::Type"
_globals["DESCRIPTOR"]._options = None
_globals[
"DESCRIPTOR"
]._serialized_options = b"\n-com.google.identity.accesscontextmanager.typeB\tTypeProtoP\001ZHgoogle.golang.org/genproto/googleapis/identity/accesscontextmanager/type\252\002)Google.Identity.AccessContextManager.Type\312\002)Google\\Identity\\AccessContextManager\\Type\352\002,Google::Identity::AccessContextManager::Type"
_globals["_DEVICEENCRYPTIONSTATUS"]._serialized_start = 111
_globals["_DEVICEENCRYPTIONSTATUS"]._serialized_end = 223
_globals["_OSTYPE"]._serialized_start = 226
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import ClassVar as _ClassVar

from google.protobuf import descriptor as _descriptor
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper

DESCRIPTOR: _descriptor.FileDescriptor

class DeviceEncryptionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = ()
ENCRYPTION_UNSPECIFIED: _ClassVar[DeviceEncryptionStatus]
ENCRYPTION_UNSUPPORTED: _ClassVar[DeviceEncryptionStatus]
UNENCRYPTED: _ClassVar[DeviceEncryptionStatus]
ENCRYPTED: _ClassVar[DeviceEncryptionStatus]

class OsType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = ()
OS_UNSPECIFIED: _ClassVar[OsType]
DESKTOP_MAC: _ClassVar[OsType]
DESKTOP_WINDOWS: _ClassVar[OsType]
DESKTOP_LINUX: _ClassVar[OsType]
DESKTOP_CHROME_OS: _ClassVar[OsType]
ANDROID: _ClassVar[OsType]
IOS: _ClassVar[OsType]

class DeviceManagementLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = ()
MANAGEMENT_UNSPECIFIED: _ClassVar[DeviceManagementLevel]
NONE: _ClassVar[DeviceManagementLevel]
BASIC: _ClassVar[DeviceManagementLevel]
COMPLETE: _ClassVar[DeviceManagementLevel]

ENCRYPTION_UNSPECIFIED: DeviceEncryptionStatus
ENCRYPTION_UNSUPPORTED: DeviceEncryptionStatus
UNENCRYPTED: DeviceEncryptionStatus
ENCRYPTED: DeviceEncryptionStatus
OS_UNSPECIFIED: OsType
DESKTOP_MAC: OsType
DESKTOP_WINDOWS: OsType
DESKTOP_LINUX: OsType
DESKTOP_CHROME_OS: OsType
ANDROID: OsType
IOS: OsType
MANAGEMENT_UNSPECIFIED: DeviceManagementLevel
NONE: DeviceManagementLevel
BASIC: DeviceManagementLevel
COMPLETE: DeviceManagementLevel
Loading
Loading