Interface ApprovalRequestOrBuilder (2.48.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
Type Description
ApproveDecision

The approve.

getApproveOrBuilder()

public abstract ApproveDecisionOrBuilder getApproveOrBuilder()

Access was approved.

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

Returns
Type Description
ApproveDecisionOrBuilder

getDecisionCase()

public abstract ApprovalRequest.DecisionCase getDecisionCase()
Returns
Type Description
ApprovalRequest.DecisionCase

getDismiss()

public abstract DismissDecision getDismiss()

The request was dismissed.

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

Returns
Type Description
DismissDecision

The dismiss.

getDismissOrBuilder()

public abstract DismissDecisionOrBuilder getDismissOrBuilder()

The request was dismissed.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getRequestTime()

public abstract Timestamp getRequestTime()

The time at which approval was requested.

.google.protobuf.Timestamp request_time = 5;

Returns
Type Description
Timestamp

The requestTime.

getRequestTimeOrBuilder()

public abstract TimestampOrBuilder getRequestTimeOrBuilder()

The time at which approval was requested.

.google.protobuf.Timestamp request_time = 5;

Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getRequestedLocations()

public abstract AccessLocations getRequestedLocations()

The locations for which approval is being requested.

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

Returns
Type Description
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
Type Description
AccessLocationsOrBuilder

getRequestedReason()

public abstract AccessReason getRequestedReason()

The justification for which approval is being requested.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ResourcePropertiesOrBuilder

hasApprove()

public abstract boolean hasApprove()

Access was approved.

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

Returns
Type Description
boolean

Whether the approve field is set.

hasDismiss()

public abstract boolean hasDismiss()

The request was dismissed.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the requestedResourceProperties field is set.