Class AccessContextManagerClientImpl (2.0.0)

public sealed class AccessContextManagerClientImpl : AccessContextManagerClient

AccessContextManager client wrapper implementation, for convenient use.

Inheritance

Object > AccessContextManagerClient > AccessContextManagerClientImpl

Namespace

Google.Identity.AccessContextManager.V1

Assembly

Google.Identity.AccessContextManager.V1.dll

Remarks

API for setting [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for Google Cloud Projects. Each organization has one [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] containing the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter]. This [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] is applicable to all resources in the organization. AccessPolicies

Constructors

AccessContextManagerClientImpl(AccessContextManager.AccessContextManagerClient, AccessContextManagerSettings, ILogger)

public AccessContextManagerClientImpl(AccessContextManager.AccessContextManagerClient grpcClient, AccessContextManagerSettings settings, ILogger logger)

Constructs a client wrapper for the AccessContextManager service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientAccessContextManager.AccessContextManagerClient

The underlying gRPC client.

settingsAccessContextManagerSettings

The base AccessContextManagerSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CommitServicePerimetersOperationsClient

public override OperationsClient CommitServicePerimetersOperationsClient { get; }

The long-running operations client for CommitServicePerimeters.

Property Value
TypeDescription
OperationsClient
Overrides

CreateAccessLevelOperationsClient

public override OperationsClient CreateAccessLevelOperationsClient { get; }

The long-running operations client for CreateAccessLevel.

Property Value
TypeDescription
OperationsClient
Overrides

CreateAccessPolicyOperationsClient

public override OperationsClient CreateAccessPolicyOperationsClient { get; }

The long-running operations client for CreateAccessPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

CreateGcpUserAccessBindingOperationsClient

public override OperationsClient CreateGcpUserAccessBindingOperationsClient { get; }

The long-running operations client for CreateGcpUserAccessBinding.

Property Value
TypeDescription
OperationsClient
Overrides

CreateServicePerimeterOperationsClient

public override OperationsClient CreateServicePerimeterOperationsClient { get; }

The long-running operations client for CreateServicePerimeter.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteAccessLevelOperationsClient

public override OperationsClient DeleteAccessLevelOperationsClient { get; }

The long-running operations client for DeleteAccessLevel.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteAccessPolicyOperationsClient

public override OperationsClient DeleteAccessPolicyOperationsClient { get; }

The long-running operations client for DeleteAccessPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteGcpUserAccessBindingOperationsClient

public override OperationsClient DeleteGcpUserAccessBindingOperationsClient { get; }

The long-running operations client for DeleteGcpUserAccessBinding.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteServicePerimeterOperationsClient

public override OperationsClient DeleteServicePerimeterOperationsClient { get; }

The long-running operations client for DeleteServicePerimeter.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override AccessContextManager.AccessContextManagerClient GrpcClient { get; }

The underlying gRPC AccessContextManager client

Property Value
TypeDescription
AccessContextManager.AccessContextManagerClient
Overrides

ReplaceAccessLevelsOperationsClient

public override OperationsClient ReplaceAccessLevelsOperationsClient { get; }

The long-running operations client for ReplaceAccessLevels.

Property Value
TypeDescription
OperationsClient
Overrides

ReplaceServicePerimetersOperationsClient

public override OperationsClient ReplaceServicePerimetersOperationsClient { get; }

The long-running operations client for ReplaceServicePerimeters.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateAccessLevelOperationsClient

public override OperationsClient UpdateAccessLevelOperationsClient { get; }

The long-running operations client for UpdateAccessLevel.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateAccessPolicyOperationsClient

public override OperationsClient UpdateAccessPolicyOperationsClient { get; }

The long-running operations client for UpdateAccessPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateGcpUserAccessBindingOperationsClient

public override OperationsClient UpdateGcpUserAccessBindingOperationsClient { get; }

The long-running operations client for UpdateGcpUserAccessBinding.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateServicePerimeterOperationsClient

public override OperationsClient UpdateServicePerimeterOperationsClient { get; }

The long-running operations client for UpdateServicePerimeter.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CommitServicePerimeters(CommitServicePerimetersRequest, CallSettings)

public override Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata> CommitServicePerimeters(CommitServicePerimetersRequest request, CallSettings callSettings = null)

Commit the dry-run spec for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy]. A commit operation on a Service Perimeter involves copying its spec field to that Service Perimeter's status field. Only [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] with use_explicit_dry_run_spec field set to true are affected by a commit operation. The longrunning operation from this RPC will have a successful status once the dry-run specs for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] have been committed. If a commit fails, it will cause the longrunning operation to return an error response and the entire commit operation will be cancelled. When successful, Operation.response field will contain CommitServicePerimetersResponse. The dry_run and the spec fields will be cleared after a successful commit operation.

Parameters
NameDescription
requestCommitServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

CommitServicePerimetersAsync(CommitServicePerimetersRequest, CallSettings)

public override async Task<Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata>> CommitServicePerimetersAsync(CommitServicePerimetersRequest request, CallSettings callSettings = null)

Commit the dry-run spec for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy]. A commit operation on a Service Perimeter involves copying its spec field to that Service Perimeter's status field. Only [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] with use_explicit_dry_run_spec field set to true are affected by a commit operation. The longrunning operation from this RPC will have a successful status once the dry-run specs for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] have been committed. If a commit fails, it will cause the longrunning operation to return an error response and the entire commit operation will be cancelled. When successful, Operation.response field will contain CommitServicePerimetersResponse. The dry_run and the spec fields will be cleared after a successful commit operation.

Parameters
NameDescription
requestCommitServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<CommitServicePerimetersResponse, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

CreateAccessLevel(CreateAccessLevelRequest, CallSettings)

public override Operation<AccessLevel, AccessContextManagerOperationMetadata> CreateAccessLevel(CreateAccessLevelRequest request, CallSettings callSettings = null)

Create an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestCreateAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AccessLevel, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

CreateAccessLevelAsync(CreateAccessLevelRequest, CallSettings)

public override async Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> CreateAccessLevelAsync(CreateAccessLevelRequest request, CallSettings callSettings = null)

Create an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestCreateAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

CreateAccessPolicy(AccessPolicy, CallSettings)

public override Operation<AccessPolicy, AccessContextManagerOperationMetadata> CreateAccessPolicy(AccessPolicy request, CallSettings callSettings = null)

Create an AccessPolicy. Fails if this organization already has a AccessPolicy. The longrunning Operation will have a successful status once the AccessPolicy has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameters
NameDescription
requestAccessPolicy

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AccessPolicy, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

CreateAccessPolicyAsync(AccessPolicy, CallSettings)

public override async Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> CreateAccessPolicyAsync(AccessPolicy request, CallSettings callSettings = null)

Create an AccessPolicy. Fails if this organization already has a AccessPolicy. The longrunning Operation will have a successful status once the AccessPolicy has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameters
NameDescription
requestAccessPolicy

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

CreateGcpUserAccessBinding(CreateGcpUserAccessBindingRequest, CallSettings)

public override Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> CreateGcpUserAccessBinding(CreateGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server will ignore it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.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.

Parameters
NameDescription
requestCreateGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>

The RPC response.

Overrides

CreateGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest, CallSettings)

public override async Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> CreateGcpUserAccessBindingAsync(CreateGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server will ignore it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.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.

Parameters
NameDescription
requestCreateGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>>

A Task containing the RPC response.

Overrides

CreateServicePerimeter(CreateServicePerimeterRequest, CallSettings)

public override Operation<ServicePerimeter, AccessContextManagerOperationMetadata> CreateServicePerimeter(CreateServicePerimeterRequest request, CallSettings callSettings = null)

Create a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has propagated to long-lasting storage. [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestCreateServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ServicePerimeter, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

CreateServicePerimeterAsync(CreateServicePerimeterRequest, CallSettings)

public override async Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> CreateServicePerimeterAsync(CreateServicePerimeterRequest request, CallSettings callSettings = null)

Create a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has propagated to long-lasting storage. [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestCreateServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteAccessLevel(DeleteAccessLevelRequest, CallSettings)

public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteAccessLevel(DeleteAccessLevelRequest request, CallSettings callSettings = null)

Delete an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

DeleteAccessLevelAsync(DeleteAccessLevelRequest, CallSettings)

public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteAccessLevelAsync(DeleteAccessLevelRequest request, CallSettings callSettings = null)

Delete an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteAccessPolicy(DeleteAccessPolicyRequest, CallSettings)

public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteAccessPolicy(DeleteAccessPolicyRequest request, CallSettings callSettings = null)

Delete an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by resource name. The longrunning Operation will have a successful status once the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

DeleteAccessPolicyAsync(DeleteAccessPolicyRequest, CallSettings)

public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteAccessPolicyAsync(DeleteAccessPolicyRequest request, CallSettings callSettings = null)

Delete an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by resource name. The longrunning Operation will have a successful status once the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest, CallSettings)

public override Operation<Empty, GcpUserAccessBindingOperationMetadata> DeleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.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.

Parameters
NameDescription
requestDeleteGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, GcpUserAccessBindingOperationMetadata>

The RPC response.

Overrides

DeleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest, CallSettings)

public override async Task<Operation<Empty, GcpUserAccessBindingOperationMetadata>> DeleteGcpUserAccessBindingAsync(DeleteGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.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.

Parameters
NameDescription
requestDeleteGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, GcpUserAccessBindingOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteServicePerimeter(DeleteServicePerimeterRequest, CallSettings)

public override Operation<Empty, AccessContextManagerOperationMetadata> DeleteServicePerimeter(DeleteServicePerimeterRequest request, CallSettings callSettings = null)

Delete a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

DeleteServicePerimeterAsync(DeleteServicePerimeterRequest, CallSettings)

public override async Task<Operation<Empty, AccessContextManagerOperationMetadata>> DeleteServicePerimeterAsync(DeleteServicePerimeterRequest request, CallSettings callSettings = null)

Delete a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has been removed from long-lasting storage.

Parameters
NameDescription
requestDeleteServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

GetAccessLevel(GetAccessLevelRequest, CallSettings)

public override AccessLevel GetAccessLevel(GetAccessLevelRequest request, CallSettings callSettings = null)

Get an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name.

Parameters
NameDescription
requestGetAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AccessLevel

The RPC response.

Overrides

GetAccessLevelAsync(GetAccessLevelRequest, CallSettings)

public override Task<AccessLevel> GetAccessLevelAsync(GetAccessLevelRequest request, CallSettings callSettings = null)

Get an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name.

Parameters
NameDescription
requestGetAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AccessLevel>

A Task containing the RPC response.

Overrides

GetAccessPolicy(GetAccessPolicyRequest, CallSettings)

public override AccessPolicy GetAccessPolicy(GetAccessPolicyRequest request, CallSettings callSettings = null)

Get an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by name.

Parameters
NameDescription
requestGetAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AccessPolicy

The RPC response.

Overrides

GetAccessPolicyAsync(GetAccessPolicyRequest, CallSettings)

public override Task<AccessPolicy> GetAccessPolicyAsync(GetAccessPolicyRequest request, CallSettings callSettings = null)

Get an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by name.

Parameters
NameDescription
requestGetAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AccessPolicy>

A Task containing the RPC response.

Overrides

GetGcpUserAccessBinding(GetGcpUserAccessBindingRequest, CallSettings)

public override GcpUserAccessBinding GetGcpUserAccessBinding(GetGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.

Parameters
NameDescription
requestGetGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GcpUserAccessBinding

The RPC response.

Overrides

GetGcpUserAccessBindingAsync(GetGcpUserAccessBindingRequest, CallSettings)

public override Task<GcpUserAccessBinding> GetGcpUserAccessBindingAsync(GetGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.

Parameters
NameDescription
requestGetGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<GcpUserAccessBinding>

A Task containing the RPC response.

Overrides

GetServicePerimeter(GetServicePerimeterRequest, CallSettings)

public override ServicePerimeter GetServicePerimeter(GetServicePerimeterRequest request, CallSettings callSettings = null)

Get a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name.

Parameters
NameDescription
requestGetServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ServicePerimeter

The RPC response.

Overrides

GetServicePerimeterAsync(GetServicePerimeterRequest, CallSettings)

public override Task<ServicePerimeter> GetServicePerimeterAsync(GetServicePerimeterRequest request, CallSettings callSettings = null)

Get a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name.

Parameters
NameDescription
requestGetServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServicePerimeter>

A Task containing the RPC response.

Overrides

ListAccessLevels(ListAccessLevelsRequest, CallSettings)

public override PagedEnumerable<ListAccessLevelsResponse, AccessLevel> ListAccessLevels(ListAccessLevelsRequest request, CallSettings callSettings = null)

List all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.

Parameters
NameDescription
requestListAccessLevelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAccessLevelsResponse, AccessLevel>

A pageable sequence of AccessLevel resources.

Overrides

ListAccessLevelsAsync(ListAccessLevelsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAccessLevelsResponse, AccessLevel> ListAccessLevelsAsync(ListAccessLevelsRequest request, CallSettings callSettings = null)

List all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.

Parameters
NameDescription
requestListAccessLevelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAccessLevelsResponse, AccessLevel>

A pageable asynchronous sequence of AccessLevel resources.

Overrides

ListAccessPolicies(ListAccessPoliciesRequest, CallSettings)

public override PagedEnumerable<ListAccessPoliciesResponse, AccessPolicy> ListAccessPolicies(ListAccessPoliciesRequest request, CallSettings callSettings = null)

List all [AccessPolicies] [google.identity.accesscontextmanager.v1.AccessPolicy] under a container.

Parameters
NameDescription
requestListAccessPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAccessPoliciesResponse, AccessPolicy>

A pageable sequence of AccessPolicy resources.

Overrides

ListAccessPoliciesAsync(ListAccessPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<ListAccessPoliciesResponse, AccessPolicy> ListAccessPoliciesAsync(ListAccessPoliciesRequest request, CallSettings callSettings = null)

List all [AccessPolicies] [google.identity.accesscontextmanager.v1.AccessPolicy] under a container.

Parameters
NameDescription
requestListAccessPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAccessPoliciesResponse, AccessPolicy>

A pageable asynchronous sequence of AccessPolicy resources.

Overrides

ListGcpUserAccessBindings(ListGcpUserAccessBindingsRequest, CallSettings)

public override PagedEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> ListGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request, CallSettings callSettings = null)

Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.

Parameters
NameDescription
requestListGcpUserAccessBindingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding>

A pageable sequence of GcpUserAccessBinding resources.

Overrides

ListGcpUserAccessBindingsAsync(ListGcpUserAccessBindingsRequest, CallSettings)

public override PagedAsyncEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding> ListGcpUserAccessBindingsAsync(ListGcpUserAccessBindingsRequest request, CallSettings callSettings = null)

Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.

Parameters
NameDescription
requestListGcpUserAccessBindingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListGcpUserAccessBindingsResponse, GcpUserAccessBinding>

A pageable asynchronous sequence of GcpUserAccessBinding resources.

Overrides

ListServicePerimeters(ListServicePerimetersRequest, CallSettings)

public override PagedEnumerable<ListServicePerimetersResponse, ServicePerimeter> ListServicePerimeters(ListServicePerimetersRequest request, CallSettings callSettings = null)

List all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.

Parameters
NameDescription
requestListServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServicePerimetersResponse, ServicePerimeter>

A pageable sequence of ServicePerimeter resources.

Overrides

ListServicePerimetersAsync(ListServicePerimetersRequest, CallSettings)

public override PagedAsyncEnumerable<ListServicePerimetersResponse, ServicePerimeter> ListServicePerimetersAsync(ListServicePerimetersRequest request, CallSettings callSettings = null)

List all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.

Parameters
NameDescription
requestListServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServicePerimetersResponse, ServicePerimeter>

A pageable asynchronous sequence of ServicePerimeter resources.

Overrides

ReplaceAccessLevels(ReplaceAccessLevelsRequest, CallSettings)

public override Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata> ReplaceAccessLevels(ReplaceAccessLevelsRequest request, CallSettings callSettings = null)

Replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in error.

Parameters
NameDescription
requestReplaceAccessLevelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

ReplaceAccessLevelsAsync(ReplaceAccessLevelsRequest, CallSettings)

public override async Task<Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata>> ReplaceAccessLevelsAsync(ReplaceAccessLevelsRequest request, CallSettings callSettings = null)

Replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in error.

Parameters
NameDescription
requestReplaceAccessLevelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ReplaceAccessLevelsResponse, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

ReplaceServicePerimeters(ReplaceServicePerimetersRequest, CallSettings)

public override Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata> ReplaceServicePerimeters(ReplaceServicePerimetersRequest request, CallSettings callSettings = null)

Replace all existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.

Parameters
NameDescription
requestReplaceServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

ReplaceServicePerimetersAsync(ReplaceServicePerimetersRequest, CallSettings)

public override async Task<Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata>> ReplaceServicePerimetersAsync(ReplaceServicePerimetersRequest request, CallSettings callSettings = null)

Replace all existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.

Parameters
NameDescription
requestReplaceServicePerimetersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ReplaceServicePerimetersResponse, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateAccessLevel(UpdateAccessLevelRequest, CallSettings)

public override Operation<AccessLevel, AccessContextManagerOperationMetadata> UpdateAccessLevel(UpdateAccessLevelRequest request, CallSettings callSettings = null)

Update an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the changes to the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] have propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestUpdateAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AccessLevel, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

UpdateAccessLevelAsync(UpdateAccessLevelRequest, CallSettings)

public override async Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>> UpdateAccessLevelAsync(UpdateAccessLevelRequest request, CallSettings callSettings = null)

Update an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the changes to the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] have propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestUpdateAccessLevelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AccessLevel, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateAccessPolicy(UpdateAccessPolicyRequest, CallSettings)

public override Operation<AccessPolicy, AccessContextManagerOperationMetadata> UpdateAccessPolicy(UpdateAccessPolicyRequest request, CallSettings callSettings = null)

Update an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy]. The longrunning Operation from this RPC will have a successful status once the changes to the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameters
NameDescription
requestUpdateAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AccessPolicy, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

UpdateAccessPolicyAsync(UpdateAccessPolicyRequest, CallSettings)

public override async Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>> UpdateAccessPolicyAsync(UpdateAccessPolicyRequest request, CallSettings callSettings = null)

Update an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy]. The longrunning Operation from this RPC will have a successful status once the changes to the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameters
NameDescription
requestUpdateAccessPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AccessPolicy, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest, CallSettings)

public override Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata> UpdateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.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.

Parameters
NameDescription
requestUpdateGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>

The RPC response.

Overrides

UpdateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest, CallSettings)

public override async Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>> UpdateGcpUserAccessBindingAsync(UpdateGcpUserAccessBindingRequest request, CallSettings callSettings = null)

Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.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.

Parameters
NameDescription
requestUpdateGcpUserAccessBindingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<GcpUserAccessBinding, GcpUserAccessBindingOperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateServicePerimeter(UpdateServicePerimeterRequest, CallSettings)

public override Operation<ServicePerimeter, AccessContextManagerOperationMetadata> UpdateServicePerimeter(UpdateServicePerimeterRequest request, CallSettings callSettings = null)

Update a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the changes to the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] have propagated to long-lasting storage. [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestUpdateServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ServicePerimeter, AccessContextManagerOperationMetadata>

The RPC response.

Overrides

UpdateServicePerimeterAsync(UpdateServicePerimeterRequest, CallSettings)

public override async Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>> UpdateServicePerimeterAsync(UpdateServicePerimeterRequest request, CallSettings callSettings = null)

Update a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the changes to the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] have propagated to long-lasting storage. [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameters
NameDescription
requestUpdateServicePerimeterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ServicePerimeter, AccessContextManagerOperationMetadata>>

A Task containing the RPC response.

Overrides