Interface ApprovalRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApprovalRequest,ApprovalRequest.Builder
public interface ApprovalRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApproveDecisiongetApprove()Access was approved.ApproveDecisionOrBuildergetApproveOrBuilder()Access was approved.ApprovalRequest.DecisionCasegetDecisionCase()DismissDecisiongetDismiss()The request was dismissed.DismissDecisionOrBuildergetDismissOrBuilder()The request was dismissed.StringgetName()The resource name of the request.com.google.protobuf.ByteStringgetNameBytes()The resource name of the request.com.google.protobuf.TimestampgetRequestedExpiration()The requested expiration for the approval.com.google.protobuf.TimestampOrBuildergetRequestedExpirationOrBuilder()The requested expiration for the approval.AccessLocationsgetRequestedLocations()The locations for which approval is being requested.AccessLocationsOrBuildergetRequestedLocationsOrBuilder()The locations for which approval is being requested.AccessReasongetRequestedReason()The justification for which approval is being requested.AccessReasonOrBuildergetRequestedReasonOrBuilder()The justification for which approval is being requested.StringgetRequestedResourceName()The resource for which approval is being requested.com.google.protobuf.ByteStringgetRequestedResourceNameBytes()The resource for which approval is being requested.ResourcePropertiesgetRequestedResourceProperties()Properties related to the resource represented by requested_resource_name.ResourcePropertiesOrBuildergetRequestedResourcePropertiesOrBuilder()Properties related to the resource represented by requested_resource_name.com.google.protobuf.TimestampgetRequestTime()The time at which approval was requested.com.google.protobuf.TimestampOrBuildergetRequestTimeOrBuilder()The time at which approval was requested.booleanhasApprove()Access was approved.booleanhasDismiss()The request was dismissed.booleanhasRequestedExpiration()The requested expiration for the approval.booleanhasRequestedLocations()The locations for which approval is being requested.booleanhasRequestedReason()The justification for which approval is being requested.booleanhasRequestedResourceProperties()Properties related to the resource represented by requested_resource_name.booleanhasRequestTime()The time at which approval was requested.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".string name = 1;- Returns:
- The bytes for name.
-
getRequestedResourceName
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:
- The requestedResourceName.
-
getRequestedResourceNameBytes
com.google.protobuf.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:
- The bytes for requestedResourceName.
-
hasRequestedResourceProperties
boolean hasRequestedResourceProperties()
Properties related to the resource represented by requested_resource_name.
.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;- Returns:
- Whether the requestedResourceProperties field is set.
-
getRequestedResourceProperties
ResourceProperties getRequestedResourceProperties()
Properties related to the resource represented by requested_resource_name.
.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;- Returns:
- The requestedResourceProperties.
-
getRequestedResourcePropertiesOrBuilder
ResourcePropertiesOrBuilder getRequestedResourcePropertiesOrBuilder()
Properties related to the resource represented by requested_resource_name.
.google.cloud.accessapproval.v1.ResourceProperties requested_resource_properties = 9;
-
hasRequestedReason
boolean hasRequestedReason()
The justification for which approval is being requested.
.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;- Returns:
- Whether the requestedReason field is set.
-
getRequestedReason
AccessReason getRequestedReason()
The justification for which approval is being requested.
.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;- Returns:
- The requestedReason.
-
getRequestedReasonOrBuilder
AccessReasonOrBuilder getRequestedReasonOrBuilder()
The justification for which approval is being requested.
.google.cloud.accessapproval.v1.AccessReason requested_reason = 3;
-
hasRequestedLocations
boolean hasRequestedLocations()
The locations for which approval is being requested.
.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;- Returns:
- Whether the requestedLocations field is set.
-
getRequestedLocations
AccessLocations getRequestedLocations()
The locations for which approval is being requested.
.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;- Returns:
- The requestedLocations.
-
getRequestedLocationsOrBuilder
AccessLocationsOrBuilder getRequestedLocationsOrBuilder()
The locations for which approval is being requested.
.google.cloud.accessapproval.v1.AccessLocations requested_locations = 4;
-
hasRequestTime
boolean hasRequestTime()
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 5;- Returns:
- Whether the requestTime field is set.
-
getRequestTime
com.google.protobuf.Timestamp getRequestTime()
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 5;- Returns:
- The requestTime.
-
getRequestTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()
The time at which approval was requested.
.google.protobuf.Timestamp request_time = 5;
-
hasRequestedExpiration
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:
- Whether the requestedExpiration field is set.
-
getRequestedExpiration
com.google.protobuf.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:
- The requestedExpiration.
-
getRequestedExpirationOrBuilder
com.google.protobuf.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;
-
hasApprove
boolean hasApprove()
Access was approved.
.google.cloud.accessapproval.v1.ApproveDecision approve = 7;- Returns:
- Whether the approve field is set.
-
getApprove
ApproveDecision getApprove()
Access was approved.
.google.cloud.accessapproval.v1.ApproveDecision approve = 7;- Returns:
- The approve.
-
getApproveOrBuilder
ApproveDecisionOrBuilder getApproveOrBuilder()
Access was approved.
.google.cloud.accessapproval.v1.ApproveDecision approve = 7;
-
hasDismiss
boolean hasDismiss()
The request was dismissed.
.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;- Returns:
- Whether the dismiss field is set.
-
getDismiss
DismissDecision getDismiss()
The request was dismissed.
.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;- Returns:
- The dismiss.
-
getDismissOrBuilder
DismissDecisionOrBuilder getDismissOrBuilder()
The request was dismissed.
.google.cloud.accessapproval.v1.DismissDecision dismiss = 8;
-
getDecisionCase
ApprovalRequest.DecisionCase getDecisionCase()
-
-