Class ApprovalRequest
A request for the customer to approve access to a resource.
Implements
Inherited Members
Namespace: Google.Apis.AccessApproval.v1.Data
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class ApprovalRequest : IDirectResponseSchema
Properties
Approve
Access was approved.
Declaration
[JsonProperty("approve")]
public virtual ApproveDecision Approve { get; set; }
Property Value
Type | Description |
---|---|
ApproveDecision |
Dismiss
The request was dismissed.
Declaration
[JsonProperty("dismiss")]
public virtual DismissDecision Dismiss { get; set; }
Property Value
Type | Description |
---|---|
DismissDecision |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestTime
object representation of RequestTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RequestTimeDateTimeOffset instead.")]
public virtual object RequestTime { get; set; }
Property Value
Type | Description |
---|---|
object |
RequestTimeDateTimeOffset
DateTimeOffset representation of RequestTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RequestTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
RequestTimeRaw
The time at which approval was requested.
Declaration
[JsonProperty("requestTime")]
public virtual string RequestTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestedAugmentedInfo
This field contains the augmented information of the request.
Declaration
[JsonProperty("requestedAugmentedInfo")]
public virtual AugmentedInfo RequestedAugmentedInfo { get; set; }
Property Value
Type | Description |
---|---|
AugmentedInfo |
RequestedDuration
The requested access duration.
Declaration
[JsonProperty("requestedDuration")]
public virtual object RequestedDuration { get; set; }
Property Value
Type | Description |
---|---|
object |
RequestedExpiration
object representation of RequestedExpirationRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RequestedExpirationDateTimeOffset instead.")]
public virtual object RequestedExpiration { get; set; }
Property Value
Type | Description |
---|---|
object |
RequestedExpirationDateTimeOffset
DateTimeOffset representation of RequestedExpirationRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RequestedExpirationDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
RequestedExpirationRaw
The original requested expiration for the approval. Calculated by adding the requested_duration to the request_time.
Declaration
[JsonProperty("requestedExpiration")]
public virtual string RequestedExpirationRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestedLocations
The locations for which approval is being requested.
Declaration
[JsonProperty("requestedLocations")]
public virtual AccessLocations RequestedLocations { get; set; }
Property Value
Type | Description |
---|---|
AccessLocations |
RequestedReason
The justification for which approval is being requested.
Declaration
[JsonProperty("requestedReason")]
public virtual AccessReason RequestedReason { get; set; }
Property Value
Type | Description |
---|---|
AccessReason |
RequestedResourceName
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.
Declaration
[JsonProperty("requestedResourceName")]
public virtual string RequestedResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestedResourceProperties
Properties related to the resource represented by requested_resource_name.
Declaration
[JsonProperty("requestedResourceProperties")]
public virtual ResourceProperties RequestedResourceProperties { get; set; }
Property Value
Type | Description |
---|---|
ResourceProperties |