google-cloud-errors - Class Google::Cloud::PermissionDeniedError (v1.3.1)

Reference documentation and code samples for the google-cloud-errors class Google::Cloud::PermissionDeniedError.

PermissionDenied indicates the caller does not have permission to execute the specified operation. It must not be used for rejections caused by exhausting some resource (use ResourceExhausted instead for those errors). It must not be used if the caller cannot be identified (use Unauthenticated instead for those errors).

Methods

#code

def code() -> Integer

gRPC error code for PERMISSION_DENIED

Returns
  • (Integer)