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 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;