Interface ApprovalRequestOrBuilder (2.11.0)

public interface ApprovalRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprove()

public abstract ApproveDecision getApprove()

Access was approved.

.google.cloud.accessapproval.v1.ApproveDecision approve = 7;

Returns
TypeDescription
ApproveDecision

The approve.

getApproveOrBuilder()

public abstract ApproveDecisionOrBuilder getApproveOrBuilder()

Access was approved.

.google.cloud.accessapproval.v1.ApproveDecision approve = 7;

Returns
TypeDescription
ApproveDecisionOrBuilder

getDecisionCase()

public abstract ApprovalRequest.DecisionCase getDecisionCase()
Returns
TypeDescription
ApprovalRequest.DecisionCase

getDismiss()

public abstract DismissDecision getDismiss()

The request was dismissed.

.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;

Returns
TypeDescription
DismissDecision

The dismiss.

getDismissOrBuilder()

public abstract DismissDecisionOrBuilder getDismissOrBuilder()

The request was dismissed.

.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;

Returns
TypeDescription
DismissDecisionOrBuilder

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRequestTime()

public abstract Timestamp getRequestTime()

The time at which approval was requested.

.google.protobuf.Timestamp request_time = 5;

Returns
TypeDescription
Timestamp

The requestTime.

getRequestTimeOrBuilder()

public abstract TimestampOrBuilder getRequestTimeOrBuilder()

The time at which approval was requested.

.google.protobuf.Timestamp request_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getRequestedExpiration()

public abstract Timestamp getRequestedExpiration()

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

.google.protobuf.Timestamp requested_expiration = 6;

Returns
TypeDescription
Timestamp

The requestedExpiration.

getRequestedExpirationOrBuilder()

public abstract TimestampOrBuilder getRequestedExpirationOrBuilder()

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

.google.protobuf.Timestamp requested_expiration = 6;

Returns
TypeDescription
TimestampOrBuilder

getRequestedLocations()

public abstract AccessLocations getRequestedLocations()

The locations for which approval is being requested.

.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;

Returns
TypeDescription
AccessLocations

The requestedLocations.

getRequestedLocationsOrBuilder()

public abstract AccessLocationsOrBuilder getRequestedLocationsOrBuilder()

The locations for which approval is being requested.

.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;

Returns
TypeDescription
AccessLocationsOrBuilder

getRequestedReason()

public abstract AccessReason getRequestedReason()

The justification for which approval is being requested.

.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;

Returns
TypeDescription
AccessReason

The requestedReason.

getRequestedReasonOrBuilder()

public abstract AccessReasonOrBuilder getRequestedReasonOrBuilder()

The justification for which approval is being requested.

.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;

Returns
TypeDescription
AccessReasonOrBuilder

getRequestedResourceName()

public abstract String getRequestedResourceName()

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.

string requested_resource_name = 2;

Returns
TypeDescription
String

The requestedResourceName.

getRequestedResourceNameBytes()

public abstract ByteString getRequestedResourceNameBytes()

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.

string requested_resource_name = 2;

Returns
TypeDescription
ByteString

The bytes for requestedResourceName.

getRequestedResourceProperties()

public abstract ResourceProperties getRequestedResourceProperties()

Properties related to the resource represented by requested_resource_name.

.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;

Returns
TypeDescription
ResourceProperties

The requestedResourceProperties.

getRequestedResourcePropertiesOrBuilder()

public abstract ResourcePropertiesOrBuilder getRequestedResourcePropertiesOrBuilder()

Properties related to the resource represented by requested_resource_name.

.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;

Returns
TypeDescription
ResourcePropertiesOrBuilder

hasApprove()

public abstract boolean hasApprove()

Access was approved.

.google.cloud.accessapproval.v1.ApproveDecision approve = 7;

Returns
TypeDescription
boolean

Whether the approve field is set.

hasDismiss()

public abstract boolean hasDismiss()

The request was dismissed.

.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;

Returns
TypeDescription
boolean

Whether the dismiss field is set.

hasRequestTime()

public abstract boolean hasRequestTime()

The time at which approval was requested.

.google.protobuf.Timestamp request_time = 5;

Returns
TypeDescription
boolean

Whether the requestTime field is set.

hasRequestedExpiration()

public abstract boolean hasRequestedExpiration()

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

.google.protobuf.Timestamp requested_expiration = 6;

Returns
TypeDescription
boolean

Whether the requestedExpiration field is set.

hasRequestedLocations()

public abstract boolean hasRequestedLocations()

The locations for which approval is being requested.

.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;

Returns
TypeDescription
boolean

Whether the requestedLocations field is set.

hasRequestedReason()

public abstract boolean hasRequestedReason()

The justification for which approval is being requested.

.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;

Returns
TypeDescription
boolean

Whether the requestedReason field is set.

hasRequestedResourceProperties()

public abstract boolean hasRequestedResourceProperties()

Properties related to the resource represented by requested_resource_name.

.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;

Returns
TypeDescription
boolean

Whether the requestedResourceProperties field is set.