public sealed class ApprovalRequest : IMessage<ApprovalRequest>, IEquatable<ApprovalRequest>, IDeepCloneable<ApprovalRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Access Approval v1 API class ApprovalRequest.
A request for the customer to approve access to a resource.
Implements
IMessageApprovalRequest, IEquatableApprovalRequest, IDeepCloneableApprovalRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AccessApproval.V1Assembly
Google.Cloud.AccessApproval.V1.dll
Constructors
ApprovalRequest()
public ApprovalRequest()
ApprovalRequest(ApprovalRequest)
public ApprovalRequest(ApprovalRequest other)
Parameter | |
---|---|
Name | Description |
other | ApprovalRequest |
Properties
ApprovalRequestName
public ApprovalRequestName ApprovalRequestName { get; set; }
ApprovalRequestName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ApprovalRequestName |
Approve
public ApproveDecision Approve { get; set; }
Access was approved.
Property Value | |
---|---|
Type | Description |
ApproveDecision |
DecisionCase
public ApprovalRequest.DecisionOneofCase DecisionCase { get; }
Property Value | |
---|---|
Type | Description |
ApprovalRequestDecisionOneofCase |
Dismiss
public DismissDecision Dismiss { get; set; }
The request was dismissed.
Property Value | |
---|---|
Type | Description |
DismissDecision |
Name
public string Name { get; set; }
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".
Property Value | |
---|---|
Type | Description |
string |
RequestTime
public Timestamp RequestTime { get; set; }
The time at which approval was requested.
Property Value | |
---|---|
Type | Description |
Timestamp |
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 | |
---|---|
Type | Description |
Timestamp |
RequestedLocations
public AccessLocations RequestedLocations { get; set; }
The locations for which approval is being requested.
Property Value | |
---|---|
Type | Description |
AccessLocations |
RequestedReason
public AccessReason RequestedReason { get; set; }
The justification for which approval is being requested.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
RequestedResourceProperties
public ResourceProperties RequestedResourceProperties { get; set; }
Properties related to the resource represented by requested_resource_name.
Property Value | |
---|---|
Type | Description |
ResourceProperties |