Class ReplaceAccessLevelsRequest (1.3.0)

public sealed class ReplaceAccessLevelsRequest : IMessage<ReplaceAccessLevelsRequest>, IEquatable<ReplaceAccessLevelsRequest>, IDeepCloneable<ReplaceAccessLevelsRequest>, IBufferMessage, IMessage

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

Inheritance

Object > ReplaceAccessLevelsRequest

Namespace

Google.Identity.AccessContextManager.V1

Assembly

Google.Identity.AccessContextManager.V1.dll

Constructors

ReplaceAccessLevelsRequest()

public ReplaceAccessLevelsRequest()

ReplaceAccessLevelsRequest(ReplaceAccessLevelsRequest)

public ReplaceAccessLevelsRequest(ReplaceAccessLevelsRequest other)
Parameter
NameDescription
otherReplaceAccessLevelsRequest

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
TypeDescription
RepeatedField<AccessLevel>

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
TypeDescription
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
TypeDescription
String