Class PrivatePathServiceGatewayAccountPolicyPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class PrivatePathServiceGatewayAccountPolicyPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    PrivatePathServiceGatewayAccountPolicyPatch.
    • Method Detail

      • accessPolicy

        public String accessPolicy()
        Gets the accessPolicy. The access policy for the account. Updating the access policy only affects pending and future endpoint gateway bindings. - permit: access will be permitted - deny: access will be denied - review: access will be manually reviewed - Updating to `review` sets the status of future endpoint gateway bindings from this account to `pending`. - Updating to `permit` updates both the status of any `pending` and future endpoint gateway bindings from this account to `permitted`. - Updating to `deny` updates both the status of any `pending` and future endpoint gateway bindings from this account to `denied`.
        Returns:
        the accessPolicy
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the PrivatePathServiceGatewayAccountPolicyPatch. Note that properties of the PrivatePathServiceGatewayAccountPolicyPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the PrivatePathServiceGatewayAccountPolicyPatch