Class ApprovalRequest (2.0.0)

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

A request for the customer to approve access to a resource.

Inheritance

Object > ApprovalRequest

Namespace

Google.Cloud.AccessApproval.V1

Assembly

Google.Cloud.AccessApproval.V1.dll

Constructors

ApprovalRequest()

public ApprovalRequest()

ApprovalRequest(ApprovalRequest)

public ApprovalRequest(ApprovalRequest other)
Parameter
NameDescription
otherApprovalRequest

Properties

ApprovalRequestName

public ApprovalRequestName ApprovalRequestName { get; set; }

ApprovalRequestName-typed view over the Name resource name property.

Property Value
TypeDescription
ApprovalRequestName

Approve

public ApproveDecision Approve { get; set; }

Access was approved.

Property Value
TypeDescription
ApproveDecision

DecisionCase

public ApprovalRequest.DecisionOneofCase DecisionCase { get; }
Property Value
TypeDescription
ApprovalRequest.DecisionOneofCase

Dismiss

public DismissDecision Dismiss { get; set; }

The request was dismissed.

Property Value
TypeDescription
DismissDecision

Name

public string Name { get; set; }

The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".

Property Value
TypeDescription
String

RequestedExpiration

public Timestamp RequestedExpiration { get; set; }

The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

Property Value
TypeDescription
Timestamp

RequestedLocations

public AccessLocations RequestedLocations { get; set; }

The locations for which approval is being requested.

Property Value
TypeDescription
AccessLocations

RequestedReason

public AccessReason RequestedReason { get; set; }

The justification for which approval is being requested.

Property Value
TypeDescription
AccessReason

RequestedResourceName

public string RequestedResourceName { get; set; }

The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.

Property Value
TypeDescription
String

RequestedResourceProperties

public ResourceProperties RequestedResourceProperties { get; set; }

Properties related to the resource represented by requested_resource_name.

Property Value
TypeDescription
ResourceProperties

RequestTime

public Timestamp RequestTime { get; set; }

The time at which approval was requested.

Property Value
TypeDescription
Timestamp