## Index

- `AccessContextManager` (interface)
- `AccessContextManagerOperationMetadata` (message)
- `AccessLevel` (message)
- `AccessPolicy` (message)
- `Application` (message)
- `AuthorizedOrgsDesc` (message)
- `AuthorizedOrgsDesc.AssetType` (enum)
- `AuthorizedOrgsDesc.AuthorizationDirection` (enum)
- `AuthorizedOrgsDesc.AuthorizationType` (enum)
- `BasicLevel` (message)
- `BasicLevel.ConditionCombiningFunction` (enum)
- `CommitServicePerimetersRequest` (message)
- `CommitServicePerimetersResponse` (message)
- `Condition` (message)
- `CreateAccessLevelRequest` (message)
- `CreateAuthorizedOrgsDescRequest` (message)
- `CreateGcpUserAccessBindingRequest` (message)
- `CreateServicePerimeterRequest` (message)
- `CustomLevel` (message)
- `DeleteAccessLevelRequest` (message)
- `DeleteAccessPolicyRequest` (message)
- `DeleteAuthorizedOrgsDescRequest` (message)
- `DeleteGcpUserAccessBindingRequest` (message)
- `DeleteServicePerimeterRequest` (message)
- `DeletedPrincipalSyntaxSupport` (enum)
- `DevicePolicy` (message)
- `GcpUserAccessBinding` (message)
- `GcpUserAccessBindingOperationMetadata` (message)
- `GetAccessLevelRequest` (message)
- `GetAccessPolicyRequest` (message)
- `GetAuthorizedOrgsDescRequest` (message)
- `GetGcpUserAccessBindingRequest` (message)
- `GetServicePerimeterRequest` (message)
- `GetSupportedServiceRequest` (message)
- `ListAccessLevelsRequest` (message)
- `ListAccessLevelsResponse` (message)
- `ListAccessPoliciesRequest` (message)
- `ListAccessPoliciesResponse` (message)
- `ListAuthorizedOrgsDescsRequest` (message)
- `ListAuthorizedOrgsDescsResponse` (message)
- `ListGcpUserAccessBindingsRequest` (message)
- `ListGcpUserAccessBindingsResponse` (message)
- `ListServicePerimetersRequest` (message)
- `ListServicePerimetersResponse` (message)
- `ListSupportedPermissionsRequest` (message)
- `ListSupportedPermissionsResponse` (message)
- `ListSupportedServicesRequest` (message)
- `ListSupportedServicesResponse` (message)
- `LookupConfiguredServicePerimeterRequest` (message)
- `LookupConfiguredServicePerimeterResponse` (message)
- `OsConstraint` (message)
- `Principal` (message)
- `Project` (message)
- `ReplaceAccessLevelsRequest` (message)
- `ReplaceAccessLevelsResponse` (message)
- `ReplaceServicePerimetersRequest` (message)
- `ReplaceServicePerimetersResponse` (message)
- `ScopedAccessSettings` (message)
- `ScopedAccessSettings.AccessScope` (message)
- `ScopedAccessSettings.AccessSettings` (message)
- `ScopedAccessSettings.ClientScope` (message)
- `ServicePerimeter` (message)
- `ServicePerimeter.PerimeterType` (enum)
- `ServicePerimeterConfig` (message)
- `ServicePerimeterConfig.ApiOperation` (message)
- `ServicePerimeterConfig.EgressFrom` (message)
- `ServicePerimeterConfig.EgressPolicy` (message)
- `ServicePerimeterConfig.EgressSource` (message)
- `ServicePerimeterConfig.EgressTo` (message)
- `ServicePerimeterConfig.IdentityType` (enum)
- `ServicePerimeterConfig.IngressFrom` (message)
- `ServicePerimeterConfig.IngressPolicy` (message)
- `ServicePerimeterConfig.IngressSource` (message)
- `ServicePerimeterConfig.IngressTo` (message)
- `ServicePerimeterConfig.MethodSelector` (message)
- `ServicePerimeterConfig.SourceRestriction` (enum)
- `ServicePerimeterConfig.VpcAccessibleServices` (message)
- `ServicePerimeterConfig.VpcAccessibleServices.ServicePattern` (message)
- `ServicePerimeterConfig.VpcAccessibleServices.ServicePattern.Modifier` (message)
- `ServicePerimeterConfig.VpcAccessibleServices.ServicePattern.Modifier.AddRequestHeader` (message)
- `ServicePerimeterConfig.VpcAccessibleServices.ServicePatternsEnforcementScope` (enum)
- `ServiceSupportStage` (enum)
- `SessionSettings` (message)
- `SessionSettings.SessionReauthMethod` (enum)
- `SupportedService` (message)
- `UpdateAccessLevelRequest` (message)
- `UpdateAccessPolicyRequest` (message)
- `UpdateAuthorizedOrgsDescRequest` (message)
- `UpdateGcpUserAccessBindingRequest` (message)
- `UpdateServicePerimeterRequest` (message)
- `VpcNetworkSource` (message)
- `VpcSubNetwork` (message)

## AccessContextManager

API for setting `access levels` and `service perimeters` for Google Cloud projects. Each organization has one `access policy` that contains the `access levels` and `service perimeters`. This `access policy` is applicable to all resources in the organization.

| CommitServicePerimeters |
|---|
| `` rpc CommitServicePerimeters(`CommitServicePerimetersRequest`) returns (`Operation`) `` Commits the dry-run specification for all the `service perimeters` in an `access policy`. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only `service perimeters` with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the `service perimeters` have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the `Operation.response` field contains `CommitServicePerimetersResponse`. The `dry_run` and the `spec` fields are cleared after a successful commit operation. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| CreateAccessLevel |
|---|
| `` rpc CreateAccessLevel(`CreateAccessLevelRequest`) returns (`Operation`) `` Creates an `access level`. The long- running operation from this RPC has a successful status after the `access level` propagates to long-lasting storage. If `access levels` contain errors, an error response is returned for the first error encountered. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| CreateAccessPolicy |
|---|
| `` rpc CreateAccessPolicy(`AccessPolicy`) returns (`Operation`) `` Creates an access policy. This method fails if the organization already has an access policy. The long-running operation has a successful status after the access policy propagates to long-lasting storage. Syntactic and basic semantic errors are returned in `metadata` as a BadRequest proto. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| CreateAuthorizedOrgsDesc |
|---|
| `` rpc CreateAuthorizedOrgsDesc(`CreateAuthorizedOrgsDescRequest`) returns (`Operation`) `` Creates an `authorized orgs desc`. The long-running operation from this RPC has a successful status after the `authorized orgs desc` propagates to long-lasting storage. If an `authorized orgs desc` contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| CreateGcpUserAccessBinding |
|---|
| `` rpc CreateGcpUserAccessBinding(`CreateGcpUserAccessBindingRequest`) returns (`Operation`) `` Creates a `GcpUserAccessBinding`. If the client specifies a `name`, the server ignores it. Fails if a resource already exists with the same `group_key`. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| CreateServicePerimeter |
|---|
| `` rpc CreateServicePerimeter(`CreateServicePerimeterRequest`) returns (`Operation`) `` Creates a `service perimeter`. The long-running operation from this RPC has a successful status after the `service perimeter` propagates to long-lasting storage. If a `service perimeter` contains errors, an error response is returned for the first error encountered. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| DeleteAccessLevel |
|---|
| `` rpc DeleteAccessLevel(`DeleteAccessLevelRequest`) returns (`Operation`) `` Deletes an `access level` based on the resource name. The long-running operation from this RPC has a successful status after the `access level` has been removed from long-lasting storage. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| DeleteAccessPolicy |
|---|
| `` rpc DeleteAccessPolicy(`DeleteAccessPolicyRequest`) returns (`Operation`) `` Deletes an `access policy` based on the resource name. The long-running operation has a successful status after the `access policy` is removed from long-lasting storage. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| DeleteAuthorizedOrgsDesc |
|---|
| `` rpc DeleteAuthorizedOrgsDesc(`DeleteAuthorizedOrgsDescRequest`) returns (`Operation`) `` Deletes an `authorized orgs desc` based on the resource name. The long-running operation from this RPC has a successful status after the `authorized orgs desc` is removed from long-lasting storage. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| DeleteGcpUserAccessBinding |
|---|
| `` rpc DeleteGcpUserAccessBinding(`DeleteGcpUserAccessBindingRequest`) returns (`Operation`) `` Deletes a `GcpUserAccessBinding`. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| DeleteServicePerimeter |
|---|
| `` rpc DeleteServicePerimeter(`DeleteServicePerimeterRequest`) returns (`Operation`) `` Deletes a `service perimeter` based on the resource name. The long-running operation from this RPC has a successful status after the `service perimeter` is removed from long-lasting storage. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetAccessLevel |
|---|
| `` rpc GetAccessLevel(`GetAccessLevelRequest`) returns (`AccessLevel`) `` Gets an `access level` based on the resource name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetAccessPolicy |
|---|
| `` rpc GetAccessPolicy(`GetAccessPolicyRequest`) returns (`AccessPolicy`) `` Returns an `access policy` based on the name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetAuthorizedOrgsDesc |
|---|
| `` rpc GetAuthorizedOrgsDesc(`GetAuthorizedOrgsDescRequest`) returns (`AuthorizedOrgsDesc`) `` Gets an `authorized orgs desc` based on the resource name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetGcpUserAccessBinding |
|---|
| `` rpc GetGcpUserAccessBinding(`GetGcpUserAccessBindingRequest`) returns (`GcpUserAccessBinding`) `` Gets the `GcpUserAccessBinding` with the given name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetIamPolicy |
|---|
| `` rpc GetIamPolicy(`GetIamPolicyRequest`) returns (`Policy`) `` Gets the IAM policy for the specified Access Context Manager `access policy`. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetServicePerimeter |
|---|
| `` rpc GetServicePerimeter(`GetServicePerimeterRequest`) returns (`ServicePerimeter`) `` Gets a `service perimeter` based on the resource name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| GetSupportedService |
|---|
| `` rpc GetSupportedService(`GetSupportedServiceRequest`) returns (`SupportedService`) `` Gets a `VPC-SC Supported Service` by name. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListAccessLevels |
|---|
| `` rpc ListAccessLevels(`ListAccessLevelsRequest`) returns (`ListAccessLevelsResponse`) `` Lists all `access levels` for an access policy. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListAccessPolicies |
|---|
| `` rpc ListAccessPolicies(`ListAccessPoliciesRequest`) returns (`ListAccessPoliciesResponse`) `` Lists all `access policies` in an organization. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListAuthorizedOrgsDescs |
|---|
| `` rpc ListAuthorizedOrgsDescs(`ListAuthorizedOrgsDescsRequest`) returns (`ListAuthorizedOrgsDescsResponse`) `` Lists all `authorized orgs descs` for an access policy. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListGcpUserAccessBindings |
|---|
| `` rpc ListGcpUserAccessBindings(`ListGcpUserAccessBindingsRequest`) returns (`ListGcpUserAccessBindingsResponse`) `` Lists all `GcpUserAccessBindings` for a Google Cloud organization. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListServicePerimeters |
|---|
| `` rpc ListServicePerimeters(`ListServicePerimetersRequest`) returns (`ListServicePerimetersResponse`) `` Lists all `service perimeters` for an access policy. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListSupportedPermissions |
|---|
| `` rpc ListSupportedPermissions(`ListSupportedPermissionsRequest`) returns (`ListSupportedPermissionsResponse`) `` Lists all supported permissions in VPC Service Controls ingress and egress rules for Granular Controls. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ListSupportedServices |
|---|
| `` rpc ListSupportedServices(`ListSupportedServicesRequest`) returns (`ListSupportedServicesResponse`) `` Lists all `VPC-SC supported services`. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| LookupConfiguredServicePerimeter |
|---|
| `` rpc LookupConfiguredServicePerimeter(`LookupConfiguredServicePerimeterRequest`) returns (`LookupConfiguredServicePerimeterResponse`) `` Looks up the configured `ServicePerimeter` for a given resource. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ReplaceAccessLevels |
|---|
| `` rpc ReplaceAccessLevels(`ReplaceAccessLevelsRequest`) returns (`Operation`) `` Replaces all existing `access levels` in an `access policy` with the `access levels` provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing `access levels` are not affected. The `Operation.response` field contains `ReplaceAccessLevelsResponse`. Removing `access levels` contained in existing `service perimeters` results in an error. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| ReplaceServicePerimeters |
|---|
| `` rpc ReplaceServicePerimeters(`ReplaceServicePerimetersRequest`) returns (`Operation`) `` Replaces all existing `service perimeters` in an `access policy` with the `service perimeters` provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing `service perimeters` are not affected. The `Operation.response` field contains `ReplaceServicePerimetersResponse`. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| SetIamPolicy |
|---|
| `` rpc SetIamPolicy(`SetIamPolicyRequest`) returns (`Policy`) `` Sets the IAM policy for the specified Access Context Manager `access policy`. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager `access policy`. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| TestIamPermissions |
|---|
| `` rpc TestIamPermissions(`TestIamPermissionsRequest`) returns (`TestIamPermissionsResponse`) `` Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an `AccessPolicy`, `AccessLevel`, or `ServicePerimeter`. This method does not support other resources. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| UpdateAccessLevel |
|---|
| `` rpc UpdateAccessLevel(`UpdateAccessLevelRequest`) returns (`Operation`) `` Updates an `access level`. The long- running operation from this RPC has a successful status after the changes to the `access level` propagate to long-lasting storage. If `access levels` contain errors, an error response is returned for the first error encountered. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| UpdateAccessPolicy |
|---|
| `` rpc UpdateAccessPolicy(`UpdateAccessPolicyRequest`) returns (`Operation`) `` Updates an `access policy`. The long-running operation from this RPC has a successful status after the changes to the `access policy` propagate to long-lasting storage. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| UpdateAuthorizedOrgsDesc |
|---|
| `` rpc UpdateAuthorizedOrgsDesc(`UpdateAuthorizedOrgsDescRequest`) returns (`Operation`) `` Updates an `authorized orgs desc`. The long-running operation from this RPC has a successful status after the `authorized orgs desc` propagates to long-lasting storage. If an `authorized orgs desc` contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The `name`, `authorization_type`, `asset_type`, and `authorization_direction` cannot be updated. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| UpdateGcpUserAccessBinding |
|---|
| `` rpc UpdateGcpUserAccessBinding(`UpdateGcpUserAccessBindingRequest`) returns (`Operation`) `` Updates a `GcpUserAccessBinding`. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

| UpdateServicePerimeter |
|---|
| `` rpc UpdateServicePerimeter(`UpdateServicePerimeterRequest`) returns (`Operation`) `` Updates a `service perimeter`. The long-running operation from this RPC has a successful status after the `service perimeter` propagates to long-lasting storage. If a `service perimeter` contains errors, an error response is returned for the first error encountered. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp). |

## AccessContextManagerOperationMetadata

This type has no fields.
Metadata of Access Context Manager's Long Running Operations.

## AccessLevel

An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. |
| `title` | `string` Human-readable title. Must be unique within the policy. |
| `description` | `string` Description of the `AccessLevel` and its use. Does not affect behavior. |
| Union field `level`. Required. Describes the necessary conditions for the level to apply. `level` can be only one of the following: ||
| `basic` | `BasicLevel` A `BasicLevel` composed of `Conditions`. |
| `custom` | `CustomLevel` A `CustomLevel` written in the Common Expression Language. |

## AccessPolicy

`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` |
| `parent` | `string` Immutable. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Format: `organizations/{organization_id}` |
| `title` | `string` Required. Human-readable title. Does not affect behavior. |
| `scopes[]` | `string` The scopes of the `AccessPolicy`. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - `ServicePerimeter` can only restrict projects within `folders/123`. - `ServicePerimeter` within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` |
| `etag` | `string` Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. |

## Application

An application that accesses Google Cloud APIs.

| Fields ||
|---|---|
| Union field `identifier`. An identifier of the application. `identifier` can be only one of the following: ||
| `client_id` | `string` The OAuth client ID of the application. |
| `name` | `string` The name of the application. Example: "Cloud Console" |

## AuthorizedOrgsDesc

`AuthorizedOrgsDesc` contains data for an organization's authorization policy.

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. |
| `authorization_type` | `AuthorizationType` A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. |
| `asset_type` | `AssetType` The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`. |
| `authorization_direction` | `AuthorizationDirection` The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. |
| `orgs[]` | `string` The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456` |

## AssetType

The type of entities that need to use the authorization relationship during evaluation, such as a device. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.

| Enums ||
|---|---|
| `ASSET_TYPE_UNSPECIFIED` | No asset type specified. |
| `ASSET_TYPE_DEVICE` | Device asset type. |
| `ASSET_TYPE_CREDENTIAL_STRENGTH` | Credential strength asset type. |

## AuthorizationDirection

The authorization direction of the specified organizations in `AuthorizedOrgsDesc`.

| Enums ||
|---|---|
| `AUTHORIZATION_DIRECTION_UNSPECIFIED` | No direction specified. |
| `AUTHORIZATION_DIRECTION_TO` | The specified organizations are authorized to evaluate traffic in this organization. |
| `AUTHORIZATION_DIRECTION_FROM` | The traffic of the specified organizations can be evaluated by this organization. |

## AuthorizationType

A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`.

| Enums ||
|---|---|
| `AUTHORIZATION_TYPE_UNSPECIFIED` | No authorization type specified. |
| `AUTHORIZATION_TYPE_TRUST` | This authorization relationship is "trust". |

## BasicLevel

`BasicLevel` is an `AccessLevel` using a set of recommended features.

| Fields ||
|---|---|
| `conditions[]` | `Condition` Required. A list of requirements for the `AccessLevel` to be granted. |
| `combining_function` | `ConditionCombiningFunction` How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. |

## ConditionCombiningFunction

Options for how the `conditions` list should be combined to determine if this `AccessLevel` is applied. Default is `AND`.

| Enums ||
|---|---|
| `AND` | All `Conditions` must be true for the `BasicLevel` to be true. |
| `OR` | If at least one `Condition` is true, then the `BasicLevel` is true. |

## CommitServicePerimetersRequest

A request to commit dry-run specs in all `Service Perimeters` belonging to an `Access Policy`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the parent `Access Policy` which owns all `Service Perimeters` in scope for the commit operation. Format: `accessPolicies/{policy_id}` |
| `etag` | `string` Optional. The etag for the version of the `Access Policy` that this commit operation is to be performed on. If, at the time of commit, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the commit operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided. |

## CommitServicePerimetersResponse

A response to CommitServicePerimetersRequest. This will be put inside of Operation.response field.

| Fields ||
|---|---|
| `service_perimeters[]` | `ServicePerimeter` List of all the `Service Perimeter` instances in the `Access Policy`. |

## Condition

A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`, AND 5) the request was sent from one of the specified `vpc_network_sources`.

| Fields ||
|---|---|
| `ip_subnetworks[]` | `string` CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If this field is empty, all IP addresses are allowed. |
| `device_policy` | `DevicePolicy` Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. |
| `required_access_levels[]` | `string` A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` |
| `negate` | `bool` Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. |
| `members[]` | `string` The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. |
| `regions[]` | `string` The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. |
| `vpc_network_sources[]` | `VpcNetworkSource` The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. |

## CreateAccessLevelRequest

A request to create an `AccessLevel`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy which owns this `Access Level`. Format: `accessPolicies/{policy_id}` |
| `access_level` | `AccessLevel` Required. The `Access Level` to create. Syntactic correctness of the `Access Level` is a precondition for creation. |

## CreateAuthorizedOrgsDescRequest

A request to create an `AuthorizedOrgsDesc`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy which owns this `Authorized Orgs Desc`. Format: `accessPolicies/{policy_id}` |
| `authorized_orgs_desc` | `AuthorizedOrgsDesc` Required. The `Authorized Orgs Desc` to create. Syntactic correctness of the `Authorized Orgs Desc` is a precondition for creation. |

## CreateGcpUserAccessBindingRequest

Request of `CreateGcpUserAccessBinding`.

| Fields ||
|---|---|
| `parent` | `string` Required. Example: "organizations/256" |
| `gcp_user_access_binding` | `GcpUserAccessBinding` Required. `GcpUserAccessBinding` |

## CreateServicePerimeterRequest

A request to create a `ServicePerimeter`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy which owns this `Service Perimeter`. Format: `accessPolicies/{policy_id}` |
| `service_perimeter` | `ServicePerimeter` Required. The `Service Perimeter` to create. Syntactic correctness of the `Service Perimeter` is a precondition for creation. |

## CustomLevel

`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: <https://github.com/google/cel-spec>

| Fields ||
|---|---|
| `expr` | `Expr` Required. A Cloud CEL expression evaluating to a boolean. |

## DeleteAccessLevelRequest

A request to delete an `AccessLevel`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Access Level`. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` |

## DeleteAccessPolicyRequest

A request to delete an `AccessPolicy`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the access policy to delete. Format: `accessPolicies/{policy_id}` |

## DeleteAuthorizedOrgsDescRequest

A request to delete an `AuthorizedOrgsDesc`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Authorized Orgs Desc`. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}` |

## DeleteGcpUserAccessBindingRequest

Request of `DeleteGcpUserAccessBinding`.

| Fields ||
|---|---|
| `name` | `string` Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" |

## DeleteServicePerimeterRequest

A request to delete a `ServicePerimeter`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Service Perimeter`. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` |

## DeletedPrincipalSyntaxSupport

Enable or disable deleted IAM principal syntax for identities in Service Perimeter ingress/egress rules.

| Enums ||
|---|---|
| `DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED` | Deleted principal syntax support was not specified. |
| `DELETED_PRINCIPAL_SYNTAX_SUPPORT_DISABLED` | Deleted principal syntax is disabled and no identities in the request or response will contain deleted principal syntax. |
| `DELETED_PRINCIPAL_SYNTAX_SUPPORT_ENABLED` | The request and response can contain identities with deleted IAM principal syntax. |

## DevicePolicy

`DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type :
DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.

| Fields ||
|---|---|
| `require_screenlock` | `bool` Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. |
| `allowed_encryption_statuses[]` | `DeviceEncryptionStatus` Allowed encryption statuses. An empty list allows all statuses. |
| `os_constraints[]` | `OsConstraint` Allowed OS versions. An empty list allows all types and all versions. |
| `allowed_device_management_levels[]` | `DeviceManagementLevel` Allowed device management levels. An empty list allows all management levels. |
| `require_admin_approval` | `bool` Whether the device needs to be approved by the customer admin. |
| `require_corp_owned` | `bool` Whether the device needs to be corp-owned. |

## GcpUserAccessBinding

Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.

| Fields ||
|---|---|
| `name` | `string` Immutable. Identifier. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"` |
| `group_key` | `string` Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource](https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `"01d520gv4vjcrht"` |
| `principal` | `Principal` Optional. Immutable. The principal that is subject to the access policies in this policy binding. |
| `access_levels[]` | `string` Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` |
| `dry_run_access_levels[]` | `string` Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` |
| `session_settings` | `SessionSettings` Optional. The Google Cloud session length (GCSL) policy for the group key. |
| `scoped_access_settings[]` | `ScopedAccessSettings` Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. |

## GcpUserAccessBindingOperationMetadata

This type has no fields.
Metadata of Google Cloud Access Binding Long Running Operations.

## GetAccessLevelRequest

A request to get a particular `AccessLevel`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Access Level`. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` |

## GetAccessPolicyRequest

A request to get a particular `AccessPolicy`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the access policy to get. Format: `accessPolicies/{policy_id}` |

## GetAuthorizedOrgsDescRequest

A request to get a particular `AuthorizedOrgsDesc`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Authorized Orgs Desc`. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}` |

## GetGcpUserAccessBindingRequest

Request of `GetGcpUserAccessBinding`.

| Fields ||
|---|---|
| `name` | `string` Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" |

## GetServicePerimeterRequest

A request to get a particular `ServicePerimeter`.

| Fields ||
|---|---|
| `name` | `string` Required. Resource name for the `Service Perimeter`. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` |
| `deleted_principal_syntax` | `DeletedPrincipalSyntaxSupport` Optional. If true, the response will contain the deleted principal syntax for identities that support it. |

## GetSupportedServiceRequest

Determines whether the service is supported by VPC Service Controls. The `SupportStatus` field of the returned response indicates whether the service is fully supported by VPC Service Controls.

| Fields ||
|---|---|
| `name` | `string` The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example, `storage.googleapis.com`. |

## ListAccessLevelsRequest

A request to list all `AccessLevels` in an `AccessPolicy`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy to list `Access Levels` from. Format: `accessPolicies/{policy_id}` |
| `page_size` | `int32` Number of `Access Levels` to include in the list. Default 100. |
| `page_token` | `string` Next page token for the next batch of `Access Level` instances. Defaults to the first page of results. |

## ListAccessLevelsResponse

A response to `ListAccessLevelsRequest`.

| Fields ||
|---|---|
| `access_levels[]` | `AccessLevel` List of the `Access Level` instances. |
| `next_page_token` | `string` The pagination token to retrieve the next page of results. If the value is empty, no further results remain. |

## ListAccessPoliciesRequest

A request to list all `AccessPolicies` for a container.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the container to list AccessPolicy instances from. Format: `organizations/{org_id}` |
| `page_size` | `int32` Number of AccessPolicy instances to include in the list. Default 100. |
| `page_token` | `string` Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results. |

## ListAccessPoliciesResponse

A response to `ListAccessPoliciesRequest`.

| Fields ||
|---|---|
| `access_policies[]` | `AccessPolicy` List of the AccessPolicy instances. |
| `next_page_token` | `string` The pagination token to retrieve the next page of results. If the value is empty, no further results remain. |

## ListAuthorizedOrgsDescsRequest

A request to list all of the `AuthorizedOrgsDesc` in an `AccessPolicy`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy to list `Authorized Orgs Desc` from. Format: `accessPolicies/{policy_id}` |
| `page_size` | `int32` Number of `Authorized Orgs Descs` to include in the list. Default 100. |
| `page_token` | `string` Next page token for the next batch of `Authorized Orgs Desc` instances. Defaults to the first page of results. |

## ListAuthorizedOrgsDescsResponse

A response to `ListAuthorizedOrgsDescsRequest`.

| Fields ||
|---|---|
| `authorized_orgs_descs[]` | `AuthorizedOrgsDesc` List of the `Authorized Orgs Desc` instances. |
| `next_page_token` | `string` The pagination token to retrieve the next page of results. If the value is empty, no further results remain. |

## ListGcpUserAccessBindingsRequest

Request of `ListGcpUserAccessBindings`.

| Fields ||
|---|---|
| `parent` | `string` Required. Example: "organizations/256" |
| `page_size` | `int32` Optional. Maximum number of items to return. The server may return fewer items. If left blank, the server may return any number of items. |
| `page_token` | `string` Optional. If left blank, returns the first page. To enumerate all items, use the `next_page_token` from your previous list operation. |
| `filter` | `string` Optional. Filters the results by principal type. Uses the [AIP-160](https://google.aip.dev/160) filter syntax. Only the following filters are supported: - `principal:group_key`: bindings for groups. This is the default when the filter is empty. - `principal:service_account OR principal:service_account_project_number`: bindings for service accounts. - `principal:federated_principal`: bindings for federated principals. Values can be in snake_case or camelCase. Whitespace and the order of `OR` terms don't matter. Any other filter returns an `INVALID_ARGUMENT` error. |

## ListGcpUserAccessBindingsResponse

Response of `ListGcpUserAccessBindings`.

| Fields ||
|---|---|
| `gcp_user_access_bindings[]` | `GcpUserAccessBinding` `GcpUserAccessBinding` |
| `next_page_token` | `string` Token to get the next page of items. If blank, there are no more items. |

## ListServicePerimetersRequest

A request to list all `ServicePerimeters` in an `AccessPolicy`.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy to list `Service Perimeters` from. Format: `accessPolicies/{policy_id}` |
| `page_size` | `int32` Number of `Service Perimeters` to include in the list. Default 100. |
| `page_token` | `string` Next page token for the next batch of `Service Perimeter` instances. Defaults to the first page of results. |
| `deleted_principal_syntax` | `DeletedPrincipalSyntaxSupport` Optional. If true, the response will contain the deleted principal syntax for identities that support it. |

## ListServicePerimetersResponse

A response to `ListServicePerimetersRequest`.

| Fields ||
|---|---|
| `service_perimeters[]` | `ServicePerimeter` List of the `Service Perimeter` instances. |
| `next_page_token` | `string` The pagination token to retrieve the next page of results. If the value is empty, no further results remain. |

## ListSupportedPermissionsRequest

Lists the permissions that are supported by VPC Service Controls in ingress and egress rules for Granular Controls.

| Fields ||
|---|---|
| `page_size` | `int32` Optional. This flag specifies the maximum number of permissions to return per page. Default value is 100. |
| `page_token` | `string` Optional. Use this token to retrieve a specific page of results. Default is the first page. |

## ListSupportedPermissionsResponse

A response to `ListSupportedPermissionsRequest`.

| Fields ||
|---|---|
| `supported_permissions[]` | `string` List of VPC Service Controls supported permissions. |
| `next_page_token` | `string` Use this pagination token to retrieve the next page of results. An empty value indicates that no further results are available. |

## ListSupportedServicesRequest

Lists the services that VPC Service Controls supports. The services that are in this list either fully support VPC Service Controls or the integration of this service with VPC Service Controls is in [Preview stage](https://cloud.google.com/products#product-launch-stages). Services that aren't in this list don't support VPC Service Controls and aren't guaranteed to function properly in a VPC Service Controls environment.

| Fields ||
|---|---|
| `page_size` | `int32` This flag specifies the maximum number of services to return per page. Default value is 100. |
| `page_token` | `string` Use this token to retrieve a specific page of results. Default is the first page. |

## ListSupportedServicesResponse

A response to `ListSupportedServicesRequest`.

| Fields ||
|---|---|
| `supported_services[]` | `SupportedService` List of `services supported by VPC-SC` instances. |
| `next_page_token` | `string` Use this pagination token to retrieve the next page of results. An empty value indicates that no further results are available. |

## LookupConfiguredServicePerimeterRequest

A request to look up the configured `ServicePerimeter` for a resource.

| Fields ||
|---|---|
| `resource` | `string` Required. The resource name. Format: `projects/{project_number}` or `folders/{folder_number}` (for example, `projects/123` or `folders/456`) |

## LookupConfiguredServicePerimeterResponse

A configured `ServicePerimeter` returned by Access Context Manager.

| Fields ||
|---|---|
| `service_perimeter` | `string` Fully qualified name of the configured enforced perimeter. This field is empty if no enforced perimeter applies. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` |
| `service_perimeter_dry_run` | `string` Fully qualified name of the configured dry-run perimeter. This field is empty if no dry-run perimeter configuration applies. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` |
| `restricted_resource` | `string` The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the enforced perimeter. |
| `restricted_resource_dry_run` | `string` The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the dry-run perimeter. |

## OsConstraint

A restriction on the OS type and version of devices making requests.

| Fields ||
|---|---|
| `os_type` | `OsType` Required. The allowed OS type. |
| `minimum_version` | `string` The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. |
| `require_verified_chrome_os` | `bool` Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. |

## Principal

The comprehensive identity container supporting all first-party and third-party identities. Only one of them can be set to create an access binding. Next ID: 5

| Fields ||
|---|---|
| Union field `principal`. `principal` can be only one of the following: ||
| `federated_principal` | `string` Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: - Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` - All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` - All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` or `restricted_client_application` client scope and active `session_settings`. A `restricted_project` scope applies to all OAuth apps owned by the specified project. For `restricted_client_application`, only supported Google Cloud applications are allowed, and each application must be identified by `name` (for example, `Gemini Enterprise Desktop`); `client_id` isn't supported. No other configurations are allowed. |
| `service_account_project_number` | `string` Immutable. Project number used to assign policies to all service accounts in a Google Cloud project. |
| `service_account` | `string` Immutable. Service account email used to assign policies to a single service account. |

## Project

A Google Cloud project that contains applications and resources that users can access.

| Fields ||
|---|---|
| `name` | `string` The Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number is supported. Example: `projects/1234567890` |

## ReplaceAccessLevelsRequest

A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy which owns these `Access Levels`. Format: `accessPolicies/{policy_id}` |
| `access_levels[]` | `AccessLevel` Required. The desired `Access Levels` that should replace all existing `Access Levels` in the `Access Policy`. |
| `etag` | `string` Optional. The etag for the version of the `Access Policy` that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided. |

## ReplaceAccessLevelsResponse

A response to ReplaceAccessLevelsRequest. This will be put inside of Operation.response field.

| Fields ||
|---|---|
| `access_levels[]` | `AccessLevel` List of the `Access Level` instances. |

## ReplaceServicePerimetersRequest

A request to replace all existing Service Perimeters in an Access Policy with the Service Perimeters provided. This is done atomically.

| Fields ||
|---|---|
| `parent` | `string` Required. Resource name for the access policy which owns these `Service Perimeters`. Format: `accessPolicies/{policy_id}` |
| `service_perimeters[]` | `ServicePerimeter` Required. The desired `Service Perimeters` that should replace all existing `Service Perimeters` in the `Access Policy`. |
| `etag` | `string` Optional. The etag for the version of the `Access Policy` that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided. |

## ReplaceServicePerimetersResponse

A response to ReplaceServicePerimetersRequest. This will be put inside of Operation.response field.

| Fields ||
|---|---|
| `service_perimeters[]` | `ServicePerimeter` List of the `Service Perimeter` instances. |

## ScopedAccessSettings

A relationship between access settings and their scope.

| Fields ||
|---|---|
| `scope` | `AccessScope` Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. |
| `active_settings` | `AccessSettings` Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set. |
| `dry_run_settings` | `AccessSettings` Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set. |

## AccessScope

Access scope represents the client scope to which the settings are applied.

| Fields ||
|---|---|
| `client_scope` | `ClientScope` Optional. Client scope for this access scope. |

## AccessSettings

Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set.

| Fields ||
|---|---|
| `access_levels[]` | `string` Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` |
| `session_settings` | `SessionSettings` Optional. Session settings applied to user access on a given `AccessScope`. |

## ClientScope

Client scope represents the application, project, or other resource subject to this binding's restrictions.

| Fields ||
|---|---|
| Union field `scope`. Client scope identifier. `scope` can be only one of the following: ||
| `restricted_client_application` | `Application` Optional. The application that is subject to this binding's scope. |
| `restricted_project` | `Project` Optional. The Google Cloud project that is subject to this binding's scope. |

## ServicePerimeter

`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request is blocked. Otherwise the request is allowed. There are two types of service perimeter: regular and bridge. Regular perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular perimeter. Perimeter bridges can contain only Google Cloud projects as members, a single Google Cloud project might belong to multiple Service perimeter bridges.

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. |
| `title` | `string` Human readable title. Must be unique within the Policy. |
| `description` | `string` Description of the `ServicePerimeter` and its use. Does not affect behavior. |
| `perimeter_type` | `PerimeterType` Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but a project can be in multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. |
| `status` | `ServicePerimeterConfig` Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. |
| `spec` | `ServicePerimeterConfig` Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. |
| `use_explicit_dry_run_spec` | `bool` Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. |
| `etag` | `string` Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. |

## PerimeterType

Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter.

In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross-project operations are permitted if all affected resources share some perimeter (whether bridge or regular). A Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that the resource is in.

Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves.

| Enums ||
|---|---|
| `PERIMETER_TYPE_REGULAR` | Regular Perimeter. When no value is specified, the perimeter uses this type. |
| `PERIMETER_TYPE_BRIDGE` | Perimeter Bridge. |

## ServicePerimeterConfig

`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.

| Fields ||
|---|---|
| `resources[]` | `string` A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}`. Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}`. |
| `access_levels[]` | `string` A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed through Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. |
| `restricted_services[]` | `string` Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions. |
| `vpc_accessible_services` | `VpcAccessibleServices` Configuration for APIs allowed within Perimeter. |
| `ingress_policies[]` | `IngressPolicy` List of `IngressPolicies` to apply to the perimeter. A perimeter may have multiple `IngressPolicies`, each of which is evaluated separately. Access is granted if any `Ingress Policy` grants it. Must be empty for a perimeter bridge. |
| `egress_policies[]` | `EgressPolicy` List of `EgressPolicies` to apply to the perimeter. A perimeter may have multiple `EgressPolicies`, each of which is evaluated separately. Access is granted if any `EgressPolicy` grants it. Must be empty for a perimeter bridge. |

## ApiOperation

Identification for an API Operation.

| Fields ||
|---|---|
| `service_name` | `string` The name of the API whose methods or permissions the `IngressPolicy` or `EgressPolicy` want to allow. A single `ApiOperation` with `service_name` field set to `*` will allow all methods AND permissions for all services. |
| `method_selectors[]` | `MethodSelector` API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single `MethodSelector` entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. |

## EgressFrom

Defines the conditions under which an `EgressPolicy` matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a `ServicePerimeter`, then that `ServicePerimeter` must have an `IngressPolicy` which allows access in order for this request to succeed.

| Fields ||
|---|---|
| `identities[]` | `string` A list of identities that are allowed access through `EgressPolicy`. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see <https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities>. |
| `identity_type` | `IdentityType` Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. |
| `sources[]` | `EgressSource` Sources that this `EgressPolicy` authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. |
| `source_restriction` | `SourceRestriction` Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. |

## EgressPolicy

Policy for egress from perimeter.

`EgressPolicies` match requests based on `egress_from` and `egress_to` stanzas. For an `EgressPolicy` to match, both `egress_from` and `egress_to` stanzas must be matched. If an `EgressPolicy` matches a request, the request is allowed to span the `ServicePerimeter` boundary. For example, an `EgressPolicy` can be used to allow VMs on networks within the `ServicePerimeter` to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset).

`EgressPolicies` are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of `EgressFrom` and `EgressTo`.

| Fields ||
|---|---|
| `egress_from` | `EgressFrom` Defines conditions on the source of a request causing this `EgressPolicy` to apply. |
| `egress_to` | `EgressTo` Defines the conditions on the `ApiOperation` and destination resources that cause this `EgressPolicy` to apply. |
| `title` | `string` Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. |

## EgressSource

The source that `EgressPolicy` authorizes access from inside the `ServicePerimeter` to somewhere outside the `ServicePerimeter` boundaries.

| Fields ||
|---|---|
| Union field `source`. Allowed egress source. `source` can be only one of the following: ||
| `access_level` | `string` An `AccessLevel` resource name that allows protected resources inside the `ServicePerimeters` to access outside the `ServicePerimeter` boundaries. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` will cause an error. If an `AccessLevel` name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all `EgressSources` will be allowed. |
| `resource` | `string` A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. |

## EgressTo

Defines the conditions under which an `EgressPolicy` matches a request. Conditions are based on information about the `ApiOperation` intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a `ServicePerimeter`, then that `ServicePerimeter` must have an `IngressPolicy` which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.

| Fields ||
|---|---|
| `resources[]` | `string` A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding `EgressFrom`. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this `EgressTo` rule will authorize access to all resources outside the perimeter. |
| `operations[]` | `ApiOperation` A list of `ApiOperations` allowed to be performed by the sources specified in the corresponding `EgressFrom`. A request matches if it uses an operation/service in this list. |
| `external_resources[]` | `string` A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. |
| `roles[]` | `string` IAM roles that represent the set of operations allowed to be performed by the sources specified in the corresponding `EgressFrom`. |

## IdentityType

Specifies the types of identities that are allowed access in either `IngressFrom` or `EgressFrom` rules.

| Enums ||
|---|---|
| `IDENTITY_TYPE_UNSPECIFIED` | No blanket identity group specified. |
| `ANY_IDENTITY` | Authorize access from all identities outside the perimeter. |
| `ANY_USER_ACCOUNT` | Authorize access from all human users outside the perimeter. |
| `ANY_SERVICE_ACCOUNT` | Authorize access from all service accounts outside the perimeter. |

## IngressFrom

Defines the conditions under which an `IngressPolicy` matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.

| Fields ||
|---|---|
| `sources[]` | `IngressSource` Sources that this `IngressPolicy` authorizes access from. |
| `identities[]` | `string` A list of identities that are allowed access through `IngressPolicy`. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see <https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities>. |
| `identity_type` | `IdentityType` Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. |

## IngressPolicy

Policy for ingress into `ServicePerimeter`.

`IngressPolicies` match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an `IngressPolicy` matches a request, the request is allowed through the perimeter boundary from outside the perimeter.

For example, access from the internet can be allowed either based on an `AccessLevel` or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required.

Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.

| Fields ||
|---|---|
| `ingress_from` | `IngressFrom` Defines the conditions on the source of a request causing this `IngressPolicy` to apply. |
| `ingress_to` | `IngressTo` Defines the conditions on the `ApiOperation` and request destination that cause this `IngressPolicy` to apply. |
| `title` | `string` Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. |

## IngressSource

The source that `IngressPolicy` authorizes access from.

| Fields ||
|---|---|
| Union field `source`. Allowed ingress source. It can be one of `AccessLevel` or Google Cloud resource. `source` can be only one of the following: ||
| `access_level` | `string` An `AccessLevel` resource name that allows resources within the `ServicePerimeters` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` will cause an error. If an `AccessLevel` name is not specified, resources within the perimeter can only be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all `IngressSources` will be allowed. |
| `resource` | `string` A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources are allowed to access perimeter data. Currently projects, folders, organizations, and VPCs are allowed. Project format: `projects/{project_number}`. Folder format: `folders/{folder_id}` Organization format: `organizations/{organization_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}`. The resource might be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported. |

## IngressTo

Defines the conditions under which an `IngressPolicy` matches a request. Conditions are based on information about the `ApiOperation` intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.

| Fields ||
|---|---|
| `operations[]` | `ApiOperation` A list of `ApiOperations` the sources specified in corresponding `IngressFrom` are allowed to perform in this `ServicePerimeter`. |
| `resources[]` | `string` A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this `ServicePerimeter` that are allowed to be accessed by sources defined in the corresponding `IngressFrom`. If a single `*` is specified, then access to all resources inside the perimeter is allowed. |
| `roles[]` | `string` IAM roles that represent the set of operations that the sources specified in the corresponding `IngressFrom` are allowed to perform in this `ServicePerimeter`. |

## MethodSelector

An allowed method or permission of a service specified in `ApiOperation`.

| Fields ||
|---|---|
| Union field `kind`. The API method name or Cloud IAM permission name to allow. `kind` can be only one of the following: ||
| `method` | `string` A valid method name for the corresponding `service_name` in `ApiOperation`. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed. |
| `permission` | `string` A valid Cloud IAM permission for the corresponding `service_name` in `ApiOperation`. |

## SourceRestriction

Whether to enable the enforcement of traffic based on the `sources` field. Only applies to `EgressFrom`.

| Enums ||
|---|---|
| `SOURCE_RESTRICTION_UNSPECIFIED` | Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in `EgressFrom`. |
| `SOURCE_RESTRICTION_ENABLED` | Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in `EgressFrom`. |
| `SOURCE_RESTRICTION_DISABLED` | Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in `EgressFrom`. |

## VpcAccessibleServices

Specifies how APIs are allowed to communicate within the Service Perimeter.

| Fields ||
|---|---|
| `enable_restriction` | `bool` Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. |
| `allowed_services[]` | `string` The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. |
| `allowed_service_patterns[]` | `ServicePattern` Specifies which Google services are allowed to be accessed from VPC networks in the service perimeter. |
| `service_patterns_enforcement_scopes[]` | `ServicePatternsEnforcementScope` Defines the enforcement scopes of service patterns. |

## ServicePattern

Service patterns used to allow access.

| Fields ||
|---|---|
| `modifiers[]` | `Modifier` Modifiers to apply to the requests that match the URL pattern. |
| Union field `kind`. The service or pattern to allow. `kind` can be only one of the following: ||
| `service` | `string` Supported service to allow. |
| `pattern` | `string` URL pattern to allow. Only patterns of `"<API>.googleapis.com/*"`, `"www.googleapis.com/<API>/*"`, and `"*.appspot.com/*"` forms are supported, where `<API>` should be an alphanumeric name. |

## Modifier

Modifier to apply to the API requests.

| Fields ||
|---|---|
| Union field `kind`. Modifier to apply to the API requests. `kind` can be only one of the following: ||
| `add_request_header` | `AddRequestHeader` Adds an additional HTTP request header. |

## AddRequestHeader

Adds a request header to the API.

| Fields ||
|---|---|
| `key` | `string` HTTP header key. |
| `value` | `string` HTTP header value. |

## ServicePatternsEnforcementScope

Defines the enforcement scope of service patterns.

| Enums ||
|---|---|
| `SERVICE_PATTERNS_ENFORCEMENT_SCOPE_UNSPECIFIED` | Default value. This cannot be used. |
| `GOOGLE_APIS_VIA_PRIVATE_PATH` | Enables VPC Accessible Services enforcement for all APIs (including unsupported APIs) for Private Google Access configured with Private VIP and Private Service Connect Endpoint for Global Google APIs that use the `'all-apis'` bundle. |

## ServiceSupportStage

The support stage of the service.

| Enums ||
|---|---|
| `SERVICE_SUPPORT_STAGE_UNSPECIFIED` | Do not use this default value. |
| `GA` | GA features are open to all developers and are considered stable and fully qualified for production use. |
| `PREVIEW` | PREVIEW indicates a pre-release stage where the product is functionally complete, but undergoing real-world testing. |
| `DEPRECATED` | Deprecated features are scheduled to be shut down and removed. |

## SessionSettings

Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings.

| Fields ||
|---|---|
| `session_reauth_method` | `SessionReauthMethod` Optional. Session challenge method when a user's Google Cloud session expires. |
| `session_length` | `Duration` Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. |
| `max_inactivity` | `Duration` Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. |
| `use_oidc_max_age` | `bool` Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. |
| `session_length_enabled` | `bool` Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. |

## SessionReauthMethod

The session challenges proposed to users when the Google Cloud session length expires.

| Enums ||
|---|---|
| `SESSION_REAUTH_METHOD_UNSPECIFIED` | If the method is undefined in the API, `LOGIN` is used by default. |
| `LOGIN` | The user will be prompted to perform regular login. Users who are enrolled for two-step verification and haven't chosen "Remember this computer" will be prompted for their second factor. |
| `SECURITY_KEY` | The user will be prompted to authenticate using their security key. If no security key has been configured, then authentication will fall back to `LOGIN`. |
| `PASSWORD` | The user will be prompted for their password. |

## SupportedService

`SupportedService` specifies a service supported by VPC Service Controls and its properties.

| Fields ||
|---|---|
| `name` | `string` The service name or address of the supported service, such as `service.googleapis.com`. |
| `support_stage` | `LaunchStage` The support stage of the service. |
| `available_on_restricted_vip` | `bool` True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud. |
| `title` | `string` The name of the supported product, such as `'Cloud Product API'`. |
| `supported_methods[]` | `MethodSelector` The list of supported methods. This field exists only in response to `GetSupportedService`. |
| `known_limitations` | `bool` True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details. |
| `service_support_stage` | `ServiceSupportStage` The support stage of the service. |

## UpdateAccessLevelRequest

A request to update an `AccessLevel`.

| Fields ||
|---|---|
| `access_level` | `AccessLevel` Required. The updated `Access Level`. Syntactic correctness of the `Access Level` is a precondition for update. |
| `update_mask` | `FieldMask` Required. Mask to control which fields get updated. Must be non-empty. |

## UpdateAccessPolicyRequest

A request to update an `AccessPolicy`.

| Fields ||
|---|---|
| `policy` | `AccessPolicy` Required. The updated AccessPolicy. |
| `update_mask` | `FieldMask` Required. Mask to control which fields get updated. Must be non-empty. |

## UpdateAuthorizedOrgsDescRequest

A request to update an `AuthorizedOrgsDesc`.

| Fields ||
|---|---|
| `authorized_orgs_desc` | `AuthorizedOrgsDesc` Required. The updated `AuthorizedOrgsDesc`. Syntactic correctness of the `AuthorizedOrgsDesc` is a precondition for update. |
| `update_mask` | `FieldMask` Required. Mask to control which fields get updated. Must be non-empty. |

## UpdateGcpUserAccessBindingRequest

Request of `UpdateGcpUserAccessBinding`.

| Fields ||
|---|---|
| `gcp_user_access_binding` | `GcpUserAccessBinding` Required. `GcpUserAccessBinding` |
| `update_mask` | `FieldMask` Required. Only the fields specified in this mask are updated. Because `name` and `group_key` cannot be changed, `update_mask` is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `session_settings`, and `scoped_access_settings`. Example: update_mask { paths: "access_levels" } |
| `append` | `bool` Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only `scoped_access_settings` with `session_settings` supports appending. Global `access_levels`, `access_levels` in `scoped_access_settings`, `dry_run_access_levels`, and `session_settings` are not compatible with append functionality, and the request will return an error if `append=true` when these settings are in the `update_mask`. The request will also return an error if `append=true` when `"scoped_access_settings"` is not set in the `update_mask`. |

## UpdateServicePerimeterRequest

A request to update a `ServicePerimeter`.

| Fields ||
|---|---|
| `service_perimeter` | `ServicePerimeter` Required. The updated `ServicePerimeter`. Syntactic correctness of the `ServicePerimeter` is a precondition for update. |
| `update_mask` | `FieldMask` Required. Mask to control which fields get updated. Must be non-empty. |
| `deleted_principal_syntax` | `DeletedPrincipalSyntaxSupport` Optional. If true, the response will contain the deleted principal syntax for identities that support it and the request can contain identities with deleted principal syntax. |

## VpcNetworkSource

The originating network source in Google Cloud.

| Fields ||
|---|---|
| Union field `kind`. The type of the originating network source of the request. `kind` can be only one of the following: ||
| `vpc_subnetwork` | `VpcSubNetwork` Sub-segment ranges of a VPC network. |

## VpcSubNetwork

Sub-segment ranges inside of a VPC network.

| Fields ||
|---|---|
| `network` | `string` Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` |
| `vpc_ip_subnetworks[]` | `string` CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. |