public sealed class ReplaceAccessLevelsRequest : IMessage<ReplaceAccessLevelsRequest>, IEquatable<ReplaceAccessLevelsRequest>, IDeepCloneable<ReplaceAccessLevelsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class ReplaceAccessLevelsRequest.
A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.
Implements
IMessageReplaceAccessLevelsRequest, IEquatableReplaceAccessLevelsRequest, IDeepCloneableReplaceAccessLevelsRequest, IBufferMessage, IMessageNamespace
Google.Identity.AccessContextManager.V1Assembly
Google.Identity.AccessContextManager.V1.dll
Constructors
ReplaceAccessLevelsRequest()
public ReplaceAccessLevelsRequest()
ReplaceAccessLevelsRequest(ReplaceAccessLevelsRequest)
public ReplaceAccessLevelsRequest(ReplaceAccessLevelsRequest other)
Parameter | |
---|---|
Name | Description |
other | ReplaceAccessLevelsRequest |
Properties
AccessLevels
public RepeatedField<AccessLevel> AccessLevels { get; }
Required. The desired [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] that should replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy].
Property Value | |
---|---|
Type | Description |
RepeatedFieldAccessLevel |
Etag
public string Etag { get; set; }
Optional. The etag for the version of the [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] 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.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. Resource name for the access policy which owns these [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
Property Value | |
---|---|
Type | Description |
string |
ParentAsAccessPolicyName
public AccessPolicyName ParentAsAccessPolicyName { get; set; }
AccessPolicyName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
AccessPolicyName |